]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: add tags to cobbler_profile roles in cobbler.yml
authorAndrew Schoen <aschoen@redhat.com>
Tue, 19 May 2015 14:51:30 +0000 (09:51 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 20 May 2015 21:18:21 +0000 (16:18 -0500)
This allows us to target each profile individually instead of running
the entire playbook to edit one profile.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
cobbler.yml

index a7936ecab871d739fce33b70bef701fc04af94d6..59de9c78ee5d704496bffccf43103244c735c422 100644 (file)
@@ -3,11 +3,11 @@
   roles:
     - common
     - cobbler 
-    - { role: cobbler_profile, distro_name: RHEL-6.6-Server-x86_64 }
-    - { role: cobbler_profile, distro_name: RHEL-7.0-Server-x86_64 }
-    - { role: cobbler_profile, distro_name: RHEL-7.1-Server-x86_64 }
-    - { role: cobbler_profile, distro_name: CentOS-7-x86_64 }
-    - { role: cobbler_profile, distro_name: CentOS-6.6-x86_64 }
-    - { role: cobbler_profile, distro_name: Ubuntu-12.04-server-x86_64 }
-    - { role: cobbler_profile, distro_name: Ubuntu-14.04-server-x86_64 }
-    - { role: cobbler_profile, distro_name: Ubuntu-15.04-server-x86_64 }
+    - { role: cobbler_profile, distro_name: RHEL-6.6-Server-x86_64, tags: ['rhel6.6'] }
+    - { role: cobbler_profile, distro_name: RHEL-7.0-Server-x86_64, tags: ['rhel7.0'] }
+    - { role: cobbler_profile, distro_name: RHEL-7.1-Server-x86_64, tags: ['rhel7.1'] }
+    - { role: cobbler_profile, distro_name: CentOS-7-x86_64, tags: ['centos7.0'] }
+    - { role: cobbler_profile, distro_name: CentOS-6.6-x86_64, tags: ['centos6.6'] }
+    - { role: cobbler_profile, distro_name: Ubuntu-12.04-server-x86_64, tags: ['ubuntu-precise'] }
+    - { role: cobbler_profile, distro_name: Ubuntu-14.04-server-x86_64, tags: ['ubuntu-trusty'] }
+    - { role: cobbler_profile, distro_name: Ubuntu-15.04-server-x86_64, tags: ['ubuntu-vivid'] }