From b0ffcf5a67aa00509f1a8eea1381143d8b93e135 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 21 Mar 2016 16:04:42 +0000 Subject: [PATCH] selinux tags for this role. --- roles/distgit/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 8e20a18316..390db7d813 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -378,19 +378,24 @@ # Three tasks for handling our selinux policy for upload.cgi - name: ensure a directory exists for our SELinux policy file: dest=/usr/local/share/selinux/ state=directory + tags: selinux - name: copy over our custom selinux policy copy: src=upload_cgi.pp dest=/usr/local/share/selinux/upload_cgi.pp register: selinux_module + tags: selinux - name: install our custom selinux policy command: semodule -i /usr/local/share/selinux/upload_cgi.pp when: selinux_module|changed + tags: selinux - name: copy over our custom nfs selinux policy copy: src=cgi-nfs.pp dest=/usr/local/share/selinux/cgi-nfs.pp register: nfs_selinux_module + tags: selinux - name: install our custom nfs selinux policy command: semodule -i /usr/local/share/selinux/cgi-nfs.pp when: nfs_selinux_module|changed + tags: selinux