From 4ff914eb8926afef5285367d3ba809e0b424d08d Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 12 May 2015 14:57:13 -0600 Subject: [PATCH] Install SELinux python bindings on RHEL6 Signed-off-by: Zack Cerza --- roles/cobbler/templates/snippets/cephlab_packages_rhel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/cobbler/templates/snippets/cephlab_packages_rhel b/roles/cobbler/templates/snippets/cephlab_packages_rhel index 3e0be82..816be9e 100644 --- a/roles/cobbler/templates/snippets/cephlab_packages_rhel +++ b/roles/cobbler/templates/snippets/cephlab_packages_rhel @@ -1,3 +1,8 @@ ## {{ ansible_managed }} +#set os_version = $getVar('os_version','') +#if $os_version == 'rhel6' +# Ansible seems to need the SELinux python bindings on RHEL6 +libselinux-python +#end if perl wget -- 2.39.5