--tags not propagating thru a play include

I have a playbook that includes lots of other playbooks, eg

`

site.yml

  • include: mesos-master.yml
  • include: mesos-slave.yml
    `

Inside mesos-master.yml for example, I have play that looks like

`

  • name: Configure logging
    hosts: mesos_master
    become: yes
    tags: [logging]

roles:

  • role: logstash
    tags: [logstash]
    `

When I run site.yml with --tags logging the tasks within the logstash role do NOT get executed.

But when I run mesos-master.yml with --tags logging the tasks with the logstash role DO get executed.

This is with 2.3.

I can’t find any issues for this, but with 2.3k open issues in git it’s pretty hard to find anything, so maybe I missed it.