From d74a9216727691b3fc9196578f04837162bccc67 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 21 Oct 2023 02:30:45 +0200 Subject: [PATCH 1/2] Update ansible_docker.py --- ansible_docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_docker.py b/ansible_docker.py index 0c7e87d..642816e 100755 --- a/ansible_docker.py +++ b/ansible_docker.py @@ -109,7 +109,7 @@ def run_command(self, command): # Optionally install required ansible roles if bool(reqired_role): - role_install_command = ["ansible-galaxy", "role", "install", f"{reqired_role}", "--upgrade"] + role_install_command = ["ansible-galaxy", "role", "install", f"{reqired_role}", "--force"] role_install_info = execute.run_command(role_install_command) print(f"{role_install_info}\nSINGLE ROLE INSTALL SUCCESSFUL") From 20a49b38018dfef02441321864b39ff6e8e3afb9 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 21 Oct 2023 02:31:21 +0200 Subject: [PATCH 2/2] Update action.yml --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 9beec5d..a570a50 100644 --- a/action.yml +++ b/action.yml @@ -17,12 +17,12 @@ inputs: collections_yml: description: | Install multiple Collections, defined from requirements.yml file - They will be installed using ansible-galaxy collection install -r --upgrade. + They will be installed using ansible-galaxy collection install -r --force. required: false required_roles: description: | You can define a required ansible role here. - They will be installed using ansible-galaxy role install --upgrade. + They will be installed using ansible-galaxy role install --force. required: false python_dependency: description: |