summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/set_fact/set_fact_auto_unsafe.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/set_fact/set_fact_auto_unsafe.yml')
-rw-r--r--test/integration/targets/set_fact/set_fact_auto_unsafe.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/targets/set_fact/set_fact_auto_unsafe.yml b/test/integration/targets/set_fact/set_fact_auto_unsafe.yml
new file mode 100644
index 0000000..b0fb4dc
--- /dev/null
+++ b/test/integration/targets/set_fact/set_fact_auto_unsafe.yml
@@ -0,0 +1,10 @@
+- hosts: localhost
+ gather_facts: false
+ tasks:
+ - set_fact:
+ foo: bar
+ register: baz
+
+ - assert:
+ that:
+ - baz.ansible_facts.foo|type_debug != "AnsibleUnsafeText"