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: | ||||
6 | dest={{ ansible_env['PWD'] }}/.ssh/config | ||||
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 | ||||
14 | dest={{ ansible_env['PWD'] }}/.ansible.cfg | ||||
15 |