Skip to content

Commit

Permalink
manager: ensure that osism.commons is installed
Browse files Browse the repository at this point in the history
Part of osism/issues#700

Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt committed Oct 9, 2023
1 parent e2f04a9 commit 999ef94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environments/manager/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

ANSIBLE_COLLECTION_COMMONS_VERSION=${ANSIBLE_COLLECTION_COMMONS_VERSION:-main}
ANSIBLE_COLLECTION_SERVICES_VERSION=${ANSIBLE_COLLECTION_SERVICES_VERSION:-main}
ANSIBLE_PLAYBOOKS_MANAGER_VERSION=${ANSIBLE_PLAYBOOKS_MANAGER_VERSION:-main}

Expand Down Expand Up @@ -43,6 +44,7 @@ ANSIBLE_USER=${ANSIBLE_USER:-dragon}
CLEANUP=${CLEANUP:-false}

if [[ $INSTALL_ANSIBLE_ROLES == "true" ]]; then
ansible-galaxy collection install -f "git+https://github.com/osism/ansible-collection-commons,${ANSIBLE_COLLECTION_COMMONS_VERSION}"
ansible-galaxy collection install -f "git+https://github.com/osism/ansible-collection-services,${ANSIBLE_COLLECTION_SERVICES_VERSION}"
ansible-galaxy collection install -f "git+https://github.com/osism/ansible-playbooks-manager,${ANSIBLE_PLAYBOOKS_MANAGER_VERSION}"
fi
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
The `run.sh` script in the manager environment now also installs the
osism.commons Ansible collection.

0 comments on commit 999ef94

Please sign in to comment.