summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkhandel <dkhandel@localhost.localdomain>2018-06-01 00:23:34 +0530
committerdkhandel <dkhandel@localhost.localdomain>2018-06-01 00:23:34 +0530
commit83919661e6bf059e63bb0653544a8041ead0c541 (patch)
tree3869edbe91a9d271d3b715e0139891e9a7ea9e4b
parent3f97efd16f38c0f97766a13cc0bf1df0e064a042 (diff)
Add remote user option for running ansible playbook
Change-Id: I6b0126b9741c539545b7c0ab8e7dd08aa1181ef3
-rw-r--r--build-gluster-org/scripts/distributed-node-create.sh2
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 f4211cd..66a8f20 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_HOST_KEY_CHECKING=False ansible-playbook -i hosts --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 -u root
ret=$?
if [ $ret -eq 0 ]; then
break