Zack Williams | 573bafc | 2016-02-26 16:35:42 -0700 | [diff] [blame] | 1 | --- |
| 2 | # roles/juju-user-prep/main/tasks.yml |
| 3 | |
| 4 | - name: Disable host key checking in ~/.ssh/config |
| 5 | lineinfile: |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 6 | dest={{ ansible_user_dir }}/.ssh/config |
Zack Williams | 573bafc | 2016-02-26 16:35:42 -0700 | [diff] [blame] | 7 | 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 Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 14 | dest={{ ansible_user_dir }}/.ansible.cfg |
Zack Williams | 573bafc | 2016-02-26 16:35:42 -0700 | [diff] [blame] | 15 | |