11 lines
200 B
YAML
11 lines
200 B
YAML
|
- hosts: localhost
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- set_fact:
|
||
|
foo: bar
|
||
|
register: baz
|
||
|
|
||
|
- assert:
|
||
|
that:
|
||
|
- baz.ansible_facts.foo|type_debug != "AnsibleUnsafeText"
|