add task to set selinux booleans
This commit is contained in:
parent
ad7f1c6f7b
commit
0459ad9683
@ -82,6 +82,14 @@
|
||||
state: present
|
||||
rules: '-A INPUT -p tcp -m multiport --dports {{ nginx_open_ports|join(",") }} -j ACCEPT'
|
||||
when: nginx_iptables_enabled
|
||||
|
||||
- name: Set selinux booleans
|
||||
seboolean:
|
||||
name: "{{ item.name }}"
|
||||
state: "{{ item.state }}"
|
||||
persistent: "{{ item.persistent }}"
|
||||
with_items: "{{ nginx_set_sebooleans }}"
|
||||
when: nginx_set_sebooleans
|
||||
become: True
|
||||
become_user: root
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user