summaryrefslogtreecommitdiff
path: root/test/integration/targets/delegate_to/inventory
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2022-02-07 15:13:40 -0500
committerGitHub <noreply@github.com>2022-02-07 15:13:40 -0500
commitbe19863e44cc6b78706147b25489a73d7c8fbcb5 (patch)
treecb02b864e38bc51ed6e5edf04483e1a21cdc5ecc /test/integration/targets/delegate_to/inventory
parenta5eadaf3fd5496bd1f100ff14badf5c4947185a2 (diff)
downloadansible-be19863e44cc6b78706147b25489a73d7c8fbcb5.tar.gz
ssh connection: use 'correct' host in all cases (#76017)
ssh plugin, use 'correct' information source in all cases * still fallback to pc * added inventory to new test * undef var can still show as parser error on pc now task_exectuer has a more accurate error handling
Diffstat (limited to 'test/integration/targets/delegate_to/inventory')
-rw-r--r--test/integration/targets/delegate_to/inventory8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/delegate_to/inventory b/test/integration/targets/delegate_to/inventory
index f7ad0a33da..ebc332544c 100644
--- a/test/integration/targets/delegate_to/inventory
+++ b/test/integration/targets/delegate_to/inventory
@@ -7,3 +7,11 @@ testhost5 ansible_connection=fakelocal
[all:vars]
ansible_python_interpreter="{{ ansible_playbook_python }}"
+
+[delegated_vars]
+testhost6 myhost=127.0.0.3
+testhost7 myhost=127.0.0.4
+
+[delegated_vars:vars]
+ansible_host={{myhost}}
+ansible_connection=ssh