mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
don't assume all delegation subkeys exist (#43032)
* don't assume all delegation subkeys exist fixes #43026 * add tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
- hosts: testhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: no log filtering caused delegation to fail https://github.com/ansible/ansible/issues/43026
|
||||
become: False
|
||||
no_log: true
|
||||
debug:
|
||||
delegate_to: localhost
|
||||
@@ -8,3 +8,5 @@ ANSIBLE_SSH_ARGS='-C -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHos
|
||||
ansible-playbook test_loop_control.yml -v "$@"
|
||||
|
||||
ansible-playbook test_delegate_to_loop_randomness.yml -v "$@"
|
||||
|
||||
ansible-playbook delegate_and_nolog.yml -v "$@"
|
||||
|
||||
Reference in New Issue
Block a user