Debian Codegraph @

test/integration/targets/gathering_facts/prevent_clobbering.yml

raw
1 - name: Verify existing facts don't go undefined on unrelated new facts in loop
2 hosts: localhost
3 gather_facts: True
4 tasks:
5 - name: Ensure that 'virtualization_type' is not undefined after first loop iteration
6 bogus_facts:
7 loop: [1, 2, 3]
8 when: ansible_facts['virtualization_type'] != 'NotDocker'