add task to set selinux booleans
This commit is contained in:
parent
ad7f1c6f7b
commit
0459ad9683
@ -82,6 +82,14 @@
|
|||||||
state: present
|
state: present
|
||||||
rules: '-A INPUT -p tcp -m multiport --dports {{ nginx_open_ports|join(",") }} -j ACCEPT'
|
rules: '-A INPUT -p tcp -m multiport --dports {{ nginx_open_ports|join(",") }} -j ACCEPT'
|
||||||
when: nginx_iptables_enabled
|
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: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user