runme.sh (ansible-2.14.0) | : | runme.sh (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 106 | skipping to change at line 106 | |||
EOF | EOF | |||
f_ansible_galaxy_create_role_repo_post "${galaxy_local_parent_role}" "${galaxy_l ocal_parent_role_tar}" | f_ansible_galaxy_create_role_repo_post "${galaxy_local_parent_role}" "${galaxy_l ocal_parent_role_tar}" | |||
# Galaxy install test case | # Galaxy install test case | |||
# | # | |||
# Install local git repo | # Install local git repo | |||
f_ansible_galaxy_status "install of local git repo" | f_ansible_galaxy_status "install of local git repo" | |||
mkdir -p "${galaxy_testdir}" | mkdir -p "${galaxy_testdir}" | |||
pushd "${galaxy_testdir}" | pushd "${galaxy_testdir}" | |||
ansible-galaxy install git+file:///"${galaxy_local_test_role_git_repo}" "$@" | # minimum verbosity is hardcoded to include calls to Galaxy | |||
ansible-galaxy install git+file:///"${galaxy_local_test_role_git_repo}" "$@" | ||||
-vvvv 2>&1 | tee out.txt | ||||
# Test no initial call is made to Galaxy | ||||
grep out.txt -e "https://galaxy.ansible.com" && cat out.txt && exit 1 | ||||
# Test that the role was installed to the expected directory | # Test that the role was installed to the expected directory | |||
[[ -d "${HOME}/.ansible/roles/${galaxy_local_test_role}" ]] | [[ -d "${HOME}/.ansible/roles/${galaxy_local_test_role}" ]] | |||
popd # ${galaxy_testdir} | popd # ${galaxy_testdir} | |||
rm -fr "${galaxy_testdir}" | rm -fr "${galaxy_testdir}" | |||
rm -fr "${HOME}/.ansible/roles/${galaxy_local_test_role}" | rm -fr "${HOME}/.ansible/roles/${galaxy_local_test_role}" | |||
# Galaxy install test case | # Galaxy install test case | |||
# | # | |||
# Install local git repo and ensure that if a role_path is passed, it is in fact used | # Install local git repo and ensure that if a role_path is passed, it is in fact used | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added |