Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
List of MorphoCloudWorkflow changes:

```
$ git shortlog 6625f0e..01ffecc --no-merges
Jean-Christophe Fillion-Robin (2):
      fix(noxfile): Fix extraction of exosphere version
      fix(cloud-config): Correct syntax errors in git clone and ansible-playbook commands
```

See MorphoCloud/MorphoCloudWorkflow@6625f0e...01ffecc
  • Loading branch information
jcfr committed Feb 2, 2025
1 parent fd5012a commit 3203e86
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cloud-config
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ retry ansible-galaxy collection install community.general

rm -rf /opt/instance-config-mgt

# retry git clone \\
# --depth=1 \\
# --branch="{instance-config-mgt-repo-checkout}" \\
# "{instance-config-mgt-repo-url}" \\
# retry git clone \
# --depth=1 \
# --branch="{instance-config-mgt-repo-checkout}" \
# "{instance-config-mgt-repo-url}" \
# /opt/instance-config-mgt

exosphere_sha="61891a755ee0a4f9d15b586d60477814885656fc" # morpho-cloud-portal-2025.01.29-5f7a4c38
retry git clone \\
--checkout="$exosphere_sha" \\
"https://github.com/MorphoCloud/exosphere.git" \\
retry git clone \
--checkout="$exosphere_sha" \
"https://github.com/MorphoCloud/exosphere.git" \
/opt/instance-config-mgt

ansible-playbook \\
-i /opt/instance-config-mgt/ansible/hosts \\
-e "{\\"guac_enabled\\":true,\\"gui_enabled\\":true,\\"ansible_python_interpreter\\":\\"/opt/ansible-venv/bin/python\\"}" \\
ansible-playbook \
-i /opt/instance-config-mgt/ansible/hosts \
-e "{\"guac_enabled\":true,\"gui_enabled\":true,\"ansible_python_interpreter\":\"/opt/ansible-venv/bin/python\"}" \
/opt/instance-config-mgt/ansible/playbook.yml
ANSIBLE_RETURN_CODE=$?
if [ $ANSIBLE_RETURN_CODE -eq 0 ]; then STATUS="complete"; else STATUS="error"; fi
Expand Down

0 comments on commit 3203e86

Please sign in to comment.