]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Tell ansible to ignore host keys
authorZack Cerza <zack@redhat.com>
Thu, 18 Jun 2015 23:08:56 +0000 (17:08 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 29 Jun 2015 22:37:07 +0000 (16:37 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh

index 7ee3f141bbbadd00217bcd32edca2d53361fd3b5..a884e301d4432cdc5748b0c10e88d5dc4b247072 100644 (file)
@@ -15,6 +15,7 @@ mkdir -p /var/log/ansible
 
 pushd $ANSIBLE_CM_PATH
 export ANSIBLE_SSH_PIPELINING=1
+export ANSIBLE_HOST_KEY_CHECKING=False
 # Tell ansible to create users and populate authorized_keys
 ansible-playbook testnodes.yml -v --limit $name* --tags user,pubkeys 2>&1 > /var/log/ansible/$name.log
 # Now run the rest of the playbook. If it fails, at least we have access.