File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/powervs-vpc-landing-zone/submodules/ansible Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ main::install_packages() {
9090 for collection in $GLOBAL_GALAXY_COLLECTIONS ; do
9191 local count=0
9292 local max_count=3
93- while ! ansible-galaxy collection install " ${collection} " -f ; do
93+ while ! ansible-galaxy collection install " ${collection} " --upgrade ; do
9494 count=$(( count + 1 ))
9595 sleep 3
9696 # shellcheck disable=SC2317
@@ -101,7 +101,7 @@ main::install_packages() {
101101 done
102102 done
103103
104- ansible-galaxy collection install -r ' /root/.ansible/collections/ansible_collections/ibm/power_linux_sap/requirements.yml' -f
104+ ansible-galaxy collection install -r ' /root/.ansible/collections/ansible_collections/ibm/power_linux_sap/requirements.yml' --upgrade
105105 main::log_info " All packages installed successfully"
106106 fi
107107
You can’t perform that action at this time.
0 commit comments