summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/register/invalid_skipped.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/register/invalid_skipped.yml')
-rw-r--r--test/integration/targets/register/invalid_skipped.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/register/invalid_skipped.yml b/test/integration/targets/register/invalid_skipped.yml
new file mode 100644
index 0000000..0ad31f5
--- /dev/null
+++ b/test/integration/targets/register/invalid_skipped.yml
@@ -0,0 +1,12 @@
+- hosts: testhost
+ gather_facts: false
+ tasks:
+ - name: test registering bad var when skipped
+ debug: msg='does nothing really but register this'
+ when: false
+ register: 200
+
+ - name: never gets here
+ assert:
+ that:
+ - 200 is not defined