]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
infra: add tags for each subcomponent
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 9 Oct 2018 18:02:04 +0000 (14:02 -0400)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 10 Oct 2018 15:44:33 +0000 (15:44 +0000)
This way we can skip one specific component if needed.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-infra/tasks/main.yml

index af5fd6fcdf327d8be3968cf6813c9f7d2812e108..8bec424202b77c8b809c2e7d3d5306d68ac911d1 100644 (file)
@@ -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