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

feat: Change path to avoid ansible log deletion

parent 296a6003
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ deploy_http_proxy_node: ...@@ -152,7 +152,7 @@ deploy_http_proxy_node:
git clone ${CI_REPOSITORY_URL} /tmp/${CI_PROJECT_NAME} git clone ${CI_REPOSITORY_URL} /tmp/${CI_PROJECT_NAME}
cd /tmp/${CI_PROJECT_NAME} cd /tmp/${CI_PROJECT_NAME}
git checkout ${CI_COMMIT_REF_NAME} git checkout ${CI_COMMIT_REF_NAME}
ansible-playbook -c local -i 127.0.0.1, ansible/cheaha.yml | tee -a ansible.log ansible-playbook -c local -i 127.0.0.1, ansible/cheaha.yml | tee -a /tmp/ansible.log
rm -rf /tmp/${CI_PROJECT_NAME} rm -rf /tmp/${CI_PROJECT_NAME}
EOF EOF
- > - >
...@@ -193,7 +193,7 @@ deploy_ssh_proxy_node: ...@@ -193,7 +193,7 @@ deploy_ssh_proxy_node:
git clone ${CI_REPOSITORY_URL} /tmp/${CI_PROJECT_NAME} git clone ${CI_REPOSITORY_URL} /tmp/${CI_PROJECT_NAME}
cd /tmp/${CI_PROJECT_NAME} cd /tmp/${CI_PROJECT_NAME}
git checkout ${CI_COMMIT_REF_NAME} git checkout ${CI_COMMIT_REF_NAME}
ansible-playbook -c local -i 127.0.0.1, ansible/cheaha.yml | tee -a ansible.log ansible-playbook -c local -i 127.0.0.1, ansible/cheaha.yml | tee -a /tmp/ansible.log
rm -rf /tmp/${CI_PROJECT_NAME} rm -rf /tmp/${CI_PROJECT_NAME}
EOF 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