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

scripts/ansible: try --force-with-deps with Ansible Collections

This commit is contained in:
A Holt 2020-11-28 09:15:58 -05:00 committed by GitHub
parent ab47cd94c2
commit 97c3229056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,10 +91,13 @@ $APT_PATH/apt -y --allow-downgrades install ansible-base \
python3-pymysql python3-psycopg2 python3-passlib python3-pip \ python3-pymysql python3-psycopg2 python3-passlib python3-pip \
python3-setuptools python3-packaging python3-venv virtualenv python3-setuptools python3-packaging python3-venv virtualenv
# (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 links off PR iiab/iiab#2652
echo -e "\n\nIIAB requires these 3 Ansible Collections: (with ansible-base 2.10.3+)\n" echo -e "\n\nIIAB requires these 3 Ansible Collections: (with ansible-base 2.10.3+)\n"
ansible-galaxy collection install community.general # Re-running collection ansible-galaxy collection install --force-with-deps community.general
ansible-galaxy collection install community.mysql # installs appears safe! ansible-galaxy collection install --force-with-deps community.mysql
ansible-galaxy collection install ansible.posix # 2020-11-27: For 3 below... ansible-galaxy collection install --force-with-deps ansible.posix # For 3 below
# selinux WAS in /opt/iiab/iiab/roles/1-prep/tasks/main.yml # selinux WAS in /opt/iiab/iiab/roles/1-prep/tasks/main.yml
# sysctl in /opt/iiab/iiab/roles/2-common/tasks/main.yml # sysctl in /opt/iiab/iiab/roles/2-common/tasks/main.yml
# synchronize in /opt/iiab/iiab-admin-console/roles/js-menu/tasks/main.yml # synchronize in /opt/iiab/iiab-admin-console/roles/js-menu/tasks/main.yml