summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/tags/test_tags.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/tags/test_tags.yml')
-rw-r--r--test/integration/targets/tags/test_tags.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/integration/targets/tags/test_tags.yml b/test/integration/targets/tags/test_tags.yml
new file mode 100644
index 0000000..f0f9a72
--- /dev/null
+++ b/test/integration/targets/tags/test_tags.yml
@@ -0,0 +1,36 @@
+---
+- name: verify tags work as expected
+ hosts: testhost
+ gather_facts: False
+ vars:
+ the_tags:
+ - tag3
+ tasks:
+ - name: Task_with_tag
+ debug: msg=
+ tags: tag
+ - name: Task_with_always_tag
+ debug: msg=
+ tags: always
+ - name: Task_with_unicode_tag
+ debug: msg=
+ tags: くらとみ
+ - name: Task_with_list_of_tags
+ debug: msg=
+ tags:
+ - café
+ - press
+ - name: Task_without_tag
+ debug: msg=
+ - name: Task_with_never_tag
+ debug: msg=NEVER
+ tags: ['never', 'donever']
+ - name: Task_with_csv_tags
+ debug: msg=csv
+ tags: tag1,tag2
+ - name: Task_with_templated_tags
+ debug: msg=templated
+ tags: "{{ the_tags }}"
+ - name: Task_with_meta_tags
+ meta: reset_connection
+ tags: meta_tag