Don't fail when ansible-galaxy integration test runs as non-root

pull/84378/head
Lee Garrett 2 weeks ago
parent e390eae128
commit 1beca93288

@ -526,7 +526,7 @@ f_ansible_galaxy_status \
ansible-galaxy collection list -p ~/.ansible/collections | tee out.txt ansible-galaxy collection list -p ~/.ansible/collections | tee out.txt
[[ $(grep -c '# /root/.ansible/collections/ansible_collections' out.txt) -eq 1 ]] [[ $(grep -c "# ${HOME}/.ansible/collections/ansible_collections" out.txt) -eq 1 ]]
f_ansible_galaxy_status \ f_ansible_galaxy_status \
"collection list invalid collection name" "collection list invalid collection name"

Loading…
Cancel
Save