You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/ansible-playbook-callbacks
Lee Garrett 6d21e28c73
Fix non-root integration tests failure (#84378)
* Fix callback_default integration test for non-root users

This test compares the test output to previously collected output. However, this
previously assumed that the tests are run as root, even though needs/root in
aliases is not set.

So instead parameterize the output, and use sed to replace the value that
diverge when running it as different users.

* integration tests: Ensure temp file removal doesn't fail as non-root user

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

* Update integration test callback list

---------

Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
1 year ago
..
aliases
all-callbacks.yml Fix issues with ansible-playbook-callbacks test (#82407) 2 years ago
callback_list_include_role_fail.expected Play recap stats and callbacks for include_role, consolidate with include_tasks (#79260) 2 years ago
callbacks_list.expected Fix non-root integration tests failure (#84378) 1 year ago
include_me.yml Fix issues with ansible-playbook-callbacks test (#82407) 2 years ago
include_role-fail.yml Play recap stats and callbacks for include_role, consolidate with include_tasks (#79260) 2 years ago
runme.sh Play recap stats and callbacks for include_role, consolidate with include_tasks (#79260) 2 years ago