From dcd9526b53c98365baa3c3dd4b612f368695c3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=A4rkle?= Date: Wed, 2 Dec 2020 22:31:28 +0100 Subject: [PATCH] ansible ignoriert jetzt host keys und wir fragen nach den clients erst zur Installationszeit --- ansible.cfg | 7 +++++++ gravitoninstance.yml | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 ansible.cfg diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..6d1e306 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,7 @@ +[defaults] +host_key_checking=False +timeout=30 + +[ssh_connection] +pipelining=True +ssh_args = -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=30m -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no diff --git a/gravitoninstance.yml b/gravitoninstance.yml index a7be074..a913fdc 100644 --- a/gravitoninstance.yml +++ b/gravitoninstance.yml @@ -22,9 +22,6 @@ - name: dns_host_name prompt: Hostname that is registered in Route53 default: "illevpn" - - name: vpn_clients - prompt: Number of vpn clients to be generated - default: "1" roles: - aws_graviton_nano_spot @@ -32,6 +29,10 @@ hosts: launched remote_user: admin become: true + vars_prompt: + - name: vpn_clients + prompt: Number of vpn clients to be generated + default: "1" vars: vpn_network: '10.100.100' vpn_port: '58172'