- hosts: localhost
  gather_facts: no
  vars:
    a: "tags"
  tags:
  - play
  tasks:
  - block:
      - debug: msg="this is the tagged block"
    tags:
    - block
  - include: include.yml
    tags:
    - include
  - block:
      - debug: msg="tagged debug from second block"
        tags:
        - tag1
      - fail:
        tags:
        - tag1
    rescue:
      - debug: msg="tagged rescue from second block"
        tags:
        - rescue_tag
    always:
      - debug: msg="tagged always from second block"
        tags:
        - always_tag
