blob: 27f1d910808b7d487b97c63a1774dbd6b21f1f9f [file] [log] [blame]
---
# roles/juju-user-prep/main/tasks.yml
- name: Disable host key checking in ~/.ssh/config
lineinfile:
dest={{ ansible_env['PWD'] }}/.ssh/config
line="StrictHostKeyChecking no"
create=yes
mode=0600
- name: Disable host key checking in ~/.ansible.cfg
copy:
src=ansible.cfg
dest={{ ansible_env['PWD'] }}/.ansible.cfg