selinux: Create drop-in directory for custom selinx modules
This commit is contained in:
parent
05ba87ae88
commit
2f01f32259
1 changed files with 8 additions and 0 deletions
|
@ -12,3 +12,11 @@
|
|||
name: policycoreutils-python-utils
|
||||
state: installed
|
||||
when: ansible_distribution_major_version|int >= 8
|
||||
|
||||
- name: create selinux module directory
|
||||
file:
|
||||
dest: /usr/local/share/selinux
|
||||
state: directory
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue