diff options
author | devon-mar <devon-mar@users.noreply.github.com> | 2023-02-20 20:45:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 20:45:03 +0100 |
commit | 2f8f7fba4c6b17c25bf20913bfd332ea06b8e8ae (patch) | |
tree | 8df93c82cc298d7dc7697298f389bfa081fb9d18 /test | |
parent | Add Steampunk Spotter to Other tools list (#80006) (diff) | |
download | ansible-2f8f7fba4c6b17c25bf20913bfd332ea06b8e8ae.tar.xz ansible-2f8f7fba4c6b17c25bf20913bfd332ea06b8e8ae.zip |
Update lookup to use positional only arg for name to avoid conflicts (#79839)
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/targets/lookup-option-name/aliases | 2 | ||||
-rw-r--r-- | test/integration/targets/lookup-option-name/tasks/main.yml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/lookup-option-name/aliases b/test/integration/targets/lookup-option-name/aliases new file mode 100644 index 0000000000..498fedd558 --- /dev/null +++ b/test/integration/targets/lookup-option-name/aliases @@ -0,0 +1,2 @@ +shippable/posix/group4 +context/controller diff --git a/test/integration/targets/lookup-option-name/tasks/main.yml b/test/integration/targets/lookup-option-name/tasks/main.yml new file mode 100644 index 0000000000..4f248c84b3 --- /dev/null +++ b/test/integration/targets/lookup-option-name/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- debug: + msg: "{{ lookup('vars', name='test') }}" + +- debug: + msg: "{{ query('vars', name='test') }}" |