Skip to content

Commit cb15d57

Browse files
committed
usage of ansible-galaxy -r option.
1 parent c61d101 commit cb15d57

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

tests/environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
PASS_CRITERIA="changed=0.*failed=0"
55

66
# The location of the requirements file
7-
REQUIREMENTS_FILE="requirements.txt"
7+
REQUIREMENTS_FILE="requirements.yml"

tests/install_role_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
echo '[INFO] installing Ansible galaxy dependencies...'
44
# NOTE: the contents of this file must match the values of the dependencies key in the meta/main.yml file
5-
cat ${REQUIREMENTS_FILE} | xargs -I {} ansible-galaxy --force install {}
5+
ansible-galaxy install -r ${REQUIREMENTS_FILE}

0 commit comments

Comments
 (0)