Skip to content

Commit a6d1550

Browse files
committed
Allow installing not only collection
when using collection inside the ansible-galaxy command with the collection flag only collections are installed this doesn't install additional types of possible requirments like roles. removed the collection keyword from the ansible galaxy install command to allow installing roles as requirements
1 parent f8a19b8 commit a6d1550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container-images/tcib/base/ansible-tests/run_ansible.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fi
3535

3636
# Install collections from requirements.yaml if the file exists
3737
if [[ -f "$ANSIBLE_DIR/requirements.yaml" ]]; then
38-
ansible-galaxy collection install -r "$ANSIBLE_DIR/requirements.yaml"
38+
ansible-galaxy install -r "$ANSIBLE_DIR/requirements.yaml"
3939
else
4040
echo "requirements.yaml doesn't exist, skipping requirements installation"
4141
fi

0 commit comments

Comments
 (0)