Debian Codegraph @

test/integration/targets/gathering/explicit.yml

raw
1 - hosts: testhost
2 tasks:
3 - name: ensure facts have not been collected
4 assert:
5 that:
6 - ansible_facts is undefined or not 'fqdn' in ansible_facts
7
8 - hosts: testhost
9 gather_facts: True
10 tasks:
11 - name: ensure facts have been collected
12 assert:
13 that:
14 - ansible_facts is defined and 'fqdn' in ansible_facts