From: Guillaume Abrioux Date: Tue, 9 Oct 2018 18:02:04 +0000 (-0400) Subject: infra: add tags for each subcomponent X-Git-Tag: v3.2.0beta4~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f666902d52e5456b10fb37971720266d393c4bd1;p=ceph-ansible.git infra: add tags for each subcomponent This way we can skip one specific component if needed. Signed-off-by: Guillaume Abrioux --- 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