selinux tags for this role.
This commit is contained in:
parent
3310672c58
commit
b0ffcf5a67
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue