diff options
author | dkhandel <dkhandel@localhost.localdomain> | 2018-05-31 11:00:56 +0530 |
---|---|---|
committer | dkhandel <dkhandel@localhost.localdomain> | 2018-05-31 11:00:56 +0530 |
commit | 3f97efd16f38c0f97766a13cc0bf1df0e064a042 (patch) | |
tree | d0196af4079ef0c676d0b2c46831a155906da940 | |
parent | 5b5a79ee8bbde1e5b7af66980df7b168e22be632 (diff) |
Set environment variable for host key checking to false
Change-Id: Icc41c82e02e0447d4036e41722f9856894061287
-rw-r--r-- | build-gluster-org/scripts/distributed-node-create.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |