1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

scripts/ansible: Explain /usr/share/ansible/collections/ansible_collections

This commit is contained in:
root 2020-11-28 22:39:00 +00:00
parent bca8d56457
commit 55f0707187

View file

@ -96,6 +96,10 @@ $APT_PATH/apt -y --allow-downgrades install ansible-base \
# upgrading all collections cleanly in future. See PR #2652 (links) & PR #2653
echo -e "\n\nIIAB requires these 3 Ansible Collections: (we upgrade them here if possible!)\n"
ansible-galaxy collection install --force-with-deps -r collections.yml -p /usr/share/ansible/collections
# 2020-11-28: The ~3 Ansible Collections (~37MB) used by IIAB used to be here:
# /root/.ansible/collections/ansible_collections
# But going forward they'll be stored here:
# /usr/share/ansible/collections/ansible_collections
echo -e "\n\nCreating/verifying directory /etc/ansible & installing /etc/ansible/hosts\n"
mkdir -p /etc/ansible