blob: 6f675fdd147bf61c410b33005d5367fcf55d80d6 [file] [log] [blame]
Zack Williams573bafc2016-02-26 16:35:42 -07001---
2# roles/juju-user-prep/main/tasks.yml
3
4- name: Disable host key checking in ~/.ssh/config
5 lineinfile:
Zack Williams9cdf8622016-02-26 22:42:50 -07006 dest={{ ansible_user_dir }}/.ssh/config
Zack Williams573bafc2016-02-26 16:35:42 -07007 line="StrictHostKeyChecking no"
8 create=yes
9 mode=0600
10
11- name: Disable host key checking in ~/.ansible.cfg
12 copy:
13 src=ansible.cfg
Zack Williams9cdf8622016-02-26 22:42:50 -070014 dest={{ ansible_user_dir }}/.ansible.cfg
Zack Williams573bafc2016-02-26 16:35:42 -070015