This is very strange.
There are two tasks with the 'buffer' tag, and two tasks with the 'hmu' tag. If I run the below playbook with 'buffer' tag, it works and runs the two tasks tagged with 'buffer'. But If I run the playbook with tag 'hmu' it would not run the first task with the 'hmu' tag, however, it will run the last task tagged with 'hmu'. How can this outcome logically follow?
---
- hosts: LAB
connection: local
gather_facts: true
serial: 1
order: sorted
tasks:
- import_role:
name: buffer_stats
tags:
- buffer
- import_role:
name: hmu_stats
tags:
- hmu
- hosts: localhost
tasks:
- import_role:
name: buffer_stats
tasks_from: notifications.yml
tags:
- buffer
- import_role:
name: hmu_stats
tasks_from: notifications.yml
tags:
- hmu