mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
scripts/ansible: try --force-with-deps with Ansible Collections
This commit is contained in:
parent
ab47cd94c2
commit
97c3229056
1 changed files with 6 additions and 3 deletions
|
@ -91,10 +91,13 @@ $APT_PATH/apt -y --allow-downgrades install ansible-base \
|
|||
python3-pymysql python3-psycopg2 python3-passlib python3-pip \
|
||||
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"
|
||||
ansible-galaxy collection install community.general # Re-running collection
|
||||
ansible-galaxy collection install community.mysql # installs appears safe!
|
||||
ansible-galaxy collection install ansible.posix # 2020-11-27: For 3 below...
|
||||
ansible-galaxy collection install --force-with-deps community.general
|
||||
ansible-galaxy collection install --force-with-deps community.mysql
|
||||
ansible-galaxy collection install --force-with-deps ansible.posix # For 3 below
|
||||
# selinux WAS in /opt/iiab/iiab/roles/1-prep/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
|
||||
|
|
Loading…
Reference in a new issue