This way we can skip one specific component if needed.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
when:
- configure_firewall
- ansible_os_family in ['RedHat', 'Suse']
+ tags: configure_firewall
- name: include_tasks "ntp_debian.yml"
include_tasks: "ntp_debian.yml"
when:
- ansible_os_family == 'Debian'
- ntp_service_enabled
+ tags: configure_ntp
- name: include_tasks "ntp_rpm.yml"
include_tasks: "ntp_rpm.yml"
when:
- ansible_os_family in ['RedHat', 'Suse']
- ntp_service_enabled
+ tags: configure_ntp
\ No newline at end of file