You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
445 B
16 lines
445 B
3 years ago
|
---
|
||
|
|
||
|
- name: Copy SELinux policy
|
||
|
copy: src=paperless.te dest=/etc/selinux/targeted/local/
|
||
|
register: paperless_selinux_policy
|
||
|
tags: ged
|
||
|
|
||
|
- name: Compile and load SELinux policy
|
||
|
shell: |
|
||
|
cd /etc/selinux/targeted/local/
|
||
|
checkmodule -M -m -o paperless.mod paperless.te
|
||
|
semodule_package -o paperless.pp -m paperless.mod
|
||
|
semodule -i /etc/selinux/targeted/local/paperless.pp
|
||
|
when: paperless_selinux_policy.changed
|
||
|
tags: ged
|