diff --git a/tasks/install.yml b/tasks/install.yml index 81ffb9d..f3e0dca 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -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