--- # Managing actions for role 'client' - debug: var=hostvars.localhost.role - include: epoptes.yml when: "{{ role }} == 'client'" tags: - role - client