You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/set_fact/set_fact_auto_unsafe.yml

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"