diff options
author | Matt Martz <matt@sivel.net> | 2022-10-06 15:55:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 15:55:56 +0200 |
commit | 420564c5bcf752a821ae0599c3bd01ffba40f3ea (patch) | |
tree | 48d08ccb0c0fd0d972c49a4d7d0f60eb84cde4de /test/integration/targets/keyword_inheritance/test.yml | |
parent | facts: List all local (scope host) IP address ranges (#79018) (diff) | |
download | ansible-420564c5bcf752a821ae0599c3bd01ffba40f3ea.tar.xz ansible-420564c5bcf752a821ae0599c3bd01ffba40f3ea.zip |
Ensure that we do not squash keywords in validate (#79049)
* Ensure that we do not squash keywords in validate. Fixes #79021
* become_user: nobody should only apply to the test tasks, not the setup_test_user role
* Update how become_user is specified
* Add test to ensure keyword inheritance is working for become
* Add clog frag
* Cache fattributes to prevent re-calculation
* ci_complete
* Remove unnecessary getattr
Diffstat (limited to 'test/integration/targets/keyword_inheritance/test.yml')
-rw-r--r-- | test/integration/targets/keyword_inheritance/test.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/keyword_inheritance/test.yml b/test/integration/targets/keyword_inheritance/test.yml new file mode 100644 index 0000000000..886f9858ff --- /dev/null +++ b/test/integration/targets/keyword_inheritance/test.yml @@ -0,0 +1,8 @@ +- hosts: testhost + gather_facts: false + become_user: ansibletest0 + become: yes + roles: + - role: setup_test_user + become_user: root + - role: whoami |