---
- include: facts.yml
- include: mail.yml
  when: not ansible_local.system.is_atomic | bool
  tags: mail

- include: logrotate.yml
- include: jq.yml
  tags: service_ips

- include: gem.yml
  when: not ansible_local.system.is_atomic | bool

- include: bashrc.yml
- include: ntp.yml
  tags: ntp

- include: sensu.yml
  tags: sensu-client
  when: "'monitoring' in groups and not ansible_local.system.is_atomic | bool"

---
- include: facts.yml
- include: mail.yml
  when: not ansible_local.system.is_atomic | bool
  tags: mail

- include: logrotate.yml
- include: jq.yml
  tags: service_ips

- include: gem.yml
  when: not ansible_local.system.is_atomic | bool

- include: bashrc.yml
- include: ntp.yml
  tags: ntp

- include: sensu.yml
  tags: 
    - sensu-client
    - monitoring-client
  when: "'monitoring' in groups and not ansible_local.system.is_atomic | bool"

Add monitoring-client tag on common/sensu
Add monitoring-client tag on common/sensu

  * To be able to run only the monitoring client (needed to build a monitoring client docker image)
