disabling host_key_checking on taskotron client-hosts
This commit is contained in:
parent
5ad2adcb08
commit
998fd306e5
1 changed files with 7 additions and 0 deletions
|
@ -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']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue