From 3f97efd16f38c0f97766a13cc0bf1df0e064a042 Mon Sep 17 00:00:00 2001 From: dkhandel Date: Thu, 31 May 2018 11:00:56 +0530 Subject: Set environment variable for host key checking to false Change-Id: Icc41c82e02e0447d4036e41722f9856894061287 --- build-gluster-org/scripts/distributed-node-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-gluster-org/scripts') diff --git a/build-gluster-org/scripts/distributed-node-create.sh b/build-gluster-org/scripts/distributed-node-create.sh index b364d58..f4211cd 100644 --- a/build-gluster-org/scripts/distributed-node-create.sh +++ b/build-gluster-org/scripts/distributed-node-create.sh @@ -16,7 +16,7 @@ pip install pyrax for retry in `seq 1 $MAX_ATTEMPTS` do - ansible-playbook -i hosts -e 'host_key_checking=False' --private-key=key /opt/qa/distributed-tests/distributed-server.yml + ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i hosts --private-key=key /opt/qa/distributed-tests/distributed-server.yml ret=$? if [ $ret -eq 0 ]; then break -- cgit