Skip to content
Snippets Groups Projects
Commit c7ffd8ef authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Merge remote-tracking branch 'ltw/feat-dynamic-hosts' into test-MR

parents 3365b04c 692379cb
Branches master
No related tags found
No related merge requests found
Pipeline #12150 passed with stage
in 1 minute and 34 seconds
......@@ -199,7 +199,11 @@ deploy_ssh_proxy_node:
git clone ${CI_REPOSITORY_URL} /tmp/${CI_PROJECT_NAME}
cd /tmp/${CI_PROJECT_NAME}
git checkout ${CI_COMMIT_REF_NAME}
ansible-playbook -c local -i 127.0.0.1, --extra-vars="$EXTRA_VARS" ansible/cluster.yml | tee -a /tmp/ansible.log
cat >> ansible/hosts<<EEOF
[$ENV]
127.0.0.1
EEOF
ansible-playbook -c local -i ansible/hosts --extra-vars="$EXTRA_VARS" ansible/cluster.yml | tee -a /tmp/ansible.log
rm -rf /tmp/${CI_PROJECT_NAME}
EOF
- |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment