Revert "Add test for fix using loop_control with delegate_to (#33809)"
This reverts commit adf8927c74
.
This test uses features not found in ansible-2.4
This commit is contained in:
parent
adf8927c74
commit
475cc33546
2 changed files with 0 additions and 18 deletions
|
@ -4,5 +4,3 @@ set -eux
|
|||
|
||||
ANSIBLE_SSH_ARGS='-C -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null' \
|
||||
ANSIBLE_HOST_KEY_CHECKING=false ansible-playbook test_delegate_to.yml -i ../../inventory -v "$@"
|
||||
|
||||
ansible-playbook test_loop_control.yml -v "$@"
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
- hosts: localhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Test delegate_to with loop_control
|
||||
ping:
|
||||
delegate_to: "{{ item }}"
|
||||
with_items:
|
||||
- localhost
|
||||
loop_control:
|
||||
label: "{{ item }}"
|
||||
register: out
|
||||
|
||||
- name: Check if delegated_host was templated properly
|
||||
assert:
|
||||
that:
|
||||
- out.results[0]['_ansible_delegated_vars']['ansible_delegated_host'] == 'localhost'
|
Loading…
Reference in a new issue