taskotron: disabling ansible host key checking no longer needed

Tim Flink no longer remembers why he added it (just to dev), but everything
works fine without it.
This commit is contained in:
Kamil Páral 2019-02-12 16:02:40 +01:00
parent 7e0669a978
commit 28924f8107

View file

@ -84,10 +84,3 @@
command: restorecon -R "{{ item.home }}"
with_items: "{{ slaves }}"
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']