ansible ignoriert jetzt host keys und wir fragen nach den clients erst

zur Installationszeit
This commit is contained in:
Stefan Märkle 2020-12-02 22:31:28 +01:00
parent 52b53a4189
commit dcd9526b53
2 changed files with 11 additions and 3 deletions

7
ansible.cfg Normal file
View File

@ -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

View File

@ -22,9 +22,6 @@
- name: dns_host_name - name: dns_host_name
prompt: Hostname that is registered in Route53 prompt: Hostname that is registered in Route53
default: "illevpn" default: "illevpn"
- name: vpn_clients
prompt: Number of vpn clients to be generated
default: "1"
roles: roles:
- aws_graviton_nano_spot - aws_graviton_nano_spot
@ -32,6 +29,10 @@
hosts: launched hosts: launched
remote_user: admin remote_user: admin
become: true become: true
vars_prompt:
- name: vpn_clients
prompt: Number of vpn clients to be generated
default: "1"
vars: vars:
vpn_network: '10.100.100' vpn_network: '10.100.100'
vpn_port: '58172' vpn_port: '58172'