From f666902d52e5456b10fb37971720266d393c4bd1 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 9 Oct 2018 14:02:04 -0400 Subject: [PATCH] infra: add tags for each subcomponent This way we can skip one specific component if needed. Signed-off-by: Guillaume Abrioux --- roles/ceph-infra/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/ceph-infra/tasks/main.yml b/roles/ceph-infra/tasks/main.yml index af5fd6fcd..8bec42420 100644 --- a/roles/ceph-infra/tasks/main.yml +++ b/roles/ceph-infra/tasks/main.yml @@ -4,15 +4,18 @@ 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