mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
scripts/ansible: document Ansible Collections
This commit is contained in:
parent
37af289942
commit
f2567fd807
1 changed files with 3 additions and 1 deletions
|
@ -112,11 +112,13 @@ $APT_PATH/apt -y --allow-downgrades install ansible-base \
|
|||
|
||||
# (Re)running collection installs appears safe, with --force-with-deps to force
|
||||
# upgrade of collection and dependencies it pulls in. Note Ansible may support
|
||||
# upgrading all collections cleanly in future. See PRs #2647 #2652 #2653 #2655
|
||||
# explicit upgrading of collections (--upgrade / -U flag) in version "2.11"
|
||||
# with PR ansible/ansible#73336. See also IIAB PRs #2647 #2652 #2653 #2655.
|
||||
echo -e "\n\nIIAB requires these ~4 Ansible Collections: (we upgrade them here if possible!)\n"
|
||||
ansible-galaxy collection install --force-with-deps \
|
||||
-r /opt/iiab/iiab/collections.yml \
|
||||
-p /usr/share/ansible/collections
|
||||
# 2021-02-24: Run 'ansible-galaxy collection list' to list those installed.
|
||||
# 2020-11-28: The ~3 Ansible Collections used by IIAB (~37MB) once lived here:
|
||||
# /root/.ansible/collections/ansible_collections
|
||||
# But going forward they'll be stored herein:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue