infra: add tags for each subcomponent

This way we can skip one specific component if needed.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/3215/head
Guillaume Abrioux 2018-10-09 14:02:04 -04:00 committed by mergify[bot]
parent f8a7ffb085
commit f666902d52
1 changed files with 3 additions and 0 deletions

View File

@ -4,15 +4,18 @@
when: when:
- configure_firewall - configure_firewall
- ansible_os_family in ['RedHat', 'Suse'] - ansible_os_family in ['RedHat', 'Suse']
tags: configure_firewall
- name: include_tasks "ntp_debian.yml" - name: include_tasks "ntp_debian.yml"
include_tasks: "ntp_debian.yml" include_tasks: "ntp_debian.yml"
when: when:
- ansible_os_family == 'Debian' - ansible_os_family == 'Debian'
- ntp_service_enabled - ntp_service_enabled
tags: configure_ntp
- name: include_tasks "ntp_rpm.yml" - name: include_tasks "ntp_rpm.yml"
include_tasks: "ntp_rpm.yml" include_tasks: "ntp_rpm.yml"
when: when:
- ansible_os_family in ['RedHat', 'Suse'] - ansible_os_family in ['RedHat', 'Suse']
- ntp_service_enabled - ntp_service_enabled
tags: configure_ntp