summaryrefslogtreecommitdiffstats
path: root/build-gluster-org
diff options
context:
space:
mode:
authordkhandel <dkhandel@localhost.localdomain>2018-05-23 09:22:56 +0530
committerdkhandel <dkhandel@localhost.localdomain>2018-05-23 09:22:56 +0530
commitb3cd2f3e9e68e9b183dea6d98b8acb9199781deb (patch)
tree00041baa591cf0e03ba9ffe05ade0d062bc17f27 /build-gluster-org
parent18a5c60c88fbff70a99304b9a690227ab13fd956 (diff)
Create the ansible.cfg file for setting private SSH key path
Change-Id: Iadc7adb17e4e531902260ff6a19f6dc2a92187fb
Diffstat (limited to 'build-gluster-org')
-rw-r--r--build-gluster-org/scripts/distributed-node-create.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/distributed-node-create.sh b/build-gluster-org/scripts/distributed-node-create.sh
index 7203d53..02077b9 100644
--- a/build-gluster-org/scripts/distributed-node-create.sh
+++ b/build-gluster-org/scripts/distributed-node-create.sh
@@ -11,3 +11,6 @@ ssh-keygen -f ${WORKSPACE}/key -t rsa -b 4096
# Install pyrax dependency
pip install pyrax
/opt/qa/distributed-tests/rackspace-server-manager.py create -n ${MACHINES_COUNT}
+
+#create ansible.cfg to set the private SSH key file path
+echo -e "[defaults]\nprivate_key_file = key" > ansible.cfg