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.
20 lines
531 B
20 lines
531 B
4 years ago
|
---
|
||
|
|
||
|
- name: Copy SELinux policy
|
||
|
copy: src=seadrive.te dest=/etc/selinux/targeted/local/
|
||
|
register: seadrive_selinux_policy
|
||
|
tags: seadrive
|
||
|
|
||
|
- name: Compile SELinux policy
|
||
|
shell: |
|
||
|
cd /etc/selinux/targeted/local/
|
||
|
checkmodule -M -m -o seadrive.mod seadrive.te
|
||
|
semodule_package -o seadrive.pp -m seadrive.mod
|
||
|
when: seadrive_selinux_policy.changed
|
||
|
tags: seadrive
|
||
|
|
||
|
- name: Load SELinux policy
|
||
|
command: semodule -i /etc/selinux/targeted/local/seadrive.pp
|
||
|
when: seadrive_selinux_policy.changed
|
||
|
tags: seadrive
|