--- - hosts: all roles: - { role : monitoring-client, tags : [ "monitoring", "monitoring-client", "client"] } - { role : sshd-config, tags : [ "sshd" ] } - { role : rsyslog, tags : [ "rsyslog" ] } - { role : monitoring-influx, tags : [ "influx" ] } - { role : base, tags : [ "base" ] } - hosts: monitoring roles: - { role : monitoring-master, tags : [ "monitoring-master", "icinga", "grafana" ] }