Skip to content

Commit 27bc491

Browse files
committed
revert removal that checks for stratum1 playbook
1 parent d32ecba commit 27bc491

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test-playbook.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ echo ' - 127.0.0.1' >> inventory/local_site_specific_vars.yml
1616
export CVMFS_GEO_DB_FILE=NONE
1717

1818
# Only test CI suitable repos on the Stratum 1, as the other ones may be very large.
19-
cat >> inventory/local_site_specific_vars.yml <<-EOF
20-
cvmfs_repositories: "{{ eessi_cvmfs_repositories | selectattr('use_for_ci', 'defined') | selectattr('use_for_ci', 'sameas', true) | list }}"
21-
EOF
19+
if [ $playbook == "stratum1.yml" ]
20+
then
21+
cat >> inventory/local_site_specific_vars.yml <<-EOF
22+
cvmfs_repositories: "{{ eessi_cvmfs_repositories | selectattr('use_for_ci', 'defined') | selectattr('use_for_ci', 'sameas', true) | list }}"
23+
EOF
24+
fi
2225

2326
# Install the Ansible dependencies.
2427
ansible-galaxy role install -r requirements.yml -p ./roles

0 commit comments

Comments
 (0)