summaryrefslogtreecommitdiff
path: root/test/integration/targets/callback_default
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2022-01-18 13:57:42 -0600
committerGitHub <noreply@github.com>2022-01-18 13:57:42 -0600
commit29bdb8bf1e1ab7ca35721dad1a58efc966d56bd4 (patch)
tree84686c2d890d322960566f06d1e54d027f938ee0 /test/integration/targets/callback_default
parent6de06377d0671fa9b3f19241dcacf9dbb093fcd8 (diff)
downloadansible-29bdb8bf1e1ab7ca35721dad1a58efc966d56bd4.tar.gz
Compare FQCN also in lockstep logic. Fixes #76782 (#76787)
Diffstat (limited to 'test/integration/targets/callback_default')
-rw-r--r--test/integration/targets/callback_default/callback_default.out.fqcn_free.stdout35
-rwxr-xr-xtest/integration/targets/callback_default/runme.sh1
2 files changed, 36 insertions, 0 deletions
diff --git a/test/integration/targets/callback_default/callback_default.out.fqcn_free.stdout b/test/integration/targets/callback_default/callback_default.out.fqcn_free.stdout
new file mode 100644
index 0000000000..0ec0447978
--- /dev/null
+++ b/test/integration/targets/callback_default/callback_default.out.fqcn_free.stdout
@@ -0,0 +1,35 @@
+
+PLAY [nonlockstep] *************************************************************
+
+TASK [command] *****************************************************************
+changed: [testhost10]
+
+TASK [command] *****************************************************************
+changed: [testhost10]
+
+TASK [command] *****************************************************************
+changed: [testhost10]
+
+TASK [command] *****************************************************************
+changed: [testhost11]
+
+TASK [command] *****************************************************************
+changed: [testhost11]
+
+TASK [command] *****************************************************************
+changed: [testhost11]
+
+TASK [command] *****************************************************************
+changed: [testhost12]
+
+TASK [command] *****************************************************************
+changed: [testhost12]
+
+TASK [command] *****************************************************************
+changed: [testhost12]
+
+PLAY RECAP *********************************************************************
+testhost10 : ok=3 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
+testhost11 : ok=3 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
+testhost12 : ok=3 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
+
diff --git a/test/integration/targets/callback_default/runme.sh b/test/integration/targets/callback_default/runme.sh
index 77ec6806cc..0ee4259dde 100755
--- a/test/integration/targets/callback_default/runme.sh
+++ b/test/integration/targets/callback_default/runme.sh
@@ -237,4 +237,5 @@ rm -f meta_test.out
# Ensure free/host_pinned non-lockstep strategies display correctly
diff -u callback_default.out.free.stdout <(ANSIBLE_STRATEGY=free ansible-playbook -i inventory test_non_lockstep.yml 2>/dev/null)
+diff -u callback_default.out.fqcn_free.stdout <(ANSIBLE_STRATEGY=ansible.builtin.free ansible-playbook -i inventory test_non_lockstep.yml 2>/dev/null)
diff -u callback_default.out.host_pinned.stdout <(ANSIBLE_STRATEGY=host_pinned ansible-playbook -i inventory test_non_lockstep.yml 2>/dev/null)