From f61d77f9c073d8f14d6c80c4290f1b34e18766c4 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 18 Jun 2015 17:08:56 -0600 Subject: [PATCH] Tell ansible to ignore host keys Signed-off-by: Zack Cerza --- roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh b/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh index 7ee3f14..a884e30 100644 --- a/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh +++ b/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh @@ -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. -- 2.39.5