From 211b9d5e95aeb53d621380c0ab6cca6693218b49 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 19 May 2015 09:51:30 -0500 Subject: [PATCH] cobbler: add tags to cobbler_profile roles in cobbler.yml This allows us to target each profile individually instead of running the entire playbook to edit one profile. Signed-off-by: Andrew Schoen --- cobbler.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cobbler.yml b/cobbler.yml index a7936ec..59de9c7 100644 --- a/cobbler.yml +++ b/cobbler.yml @@ -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'] } -- 2.39.5