disabling host_key_checking on taskotron client-hosts

This commit is contained in:
Tim Flink 2017-11-22 19:26:14 +00:00
parent 5ad2adcb08
commit 998fd306e5

View file

@ -67,3 +67,10 @@
with_items: "{{ slaves }}" with_items: "{{ slaves }}"
when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg'] when: slaves is defined and deployment_type in ['dev', 'stg', 'prod', 'qa-prod', 'qa-stg']
- name: disable ansible host key checking
lineinfile:
dest: /etc/ansible/ansible.cfg
regexp: '^#host_key_checking = False$'
line: 'host_key_checking = False'
when: deployment_type in ['dev']