1--- 2- name: verify tags work as expected 3 hosts: testhost 4 gather_facts: False 5 vars: 6 the_tags: 7 - tag3 8 tasks: 9 - name: Task_with_tag 10 debug: msg= 11 tags: tag 12 - name: Task_with_always_tag 13 debug: msg= 14 tags: always 15 - name: Task_with_unicode_tag 16 debug: msg= 17 tags: くらとみ 18 - name: Task_with_list_of_tags 19 debug: msg= 20 tags: 21 - café 22 - press 23 - name: Task_without_tag 24 debug: msg= 25 - name: Task_with_never_tag 26 debug: msg=NEVER 27 tags: ['never', 'donever'] 28 - name: Task_with_csv_tags 29 debug: msg=csv 30 tags: tag1,tag2 31 - name: Task_with_templated_tags 32 debug: msg=templated 33 tags: "{{ the_tags }}" 34 - name: Task_with_meta_tags 35 meta: reset_connection 36 tags: meta_tag 37