SELinux state should now be correctly set back to enforcing
(#351)
This commit is contained in:
parent
c2b8eb71a4
commit
063c2d0be1
@ -14,6 +14,10 @@ ENHANCEMENTS:
|
||||
|
||||
Switch NGINX keysites and OSS default repository data from a dictionary to individual variables to prevent potential issues arisen from Jinja2 dictionary run-time evaluations.
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
Fix issue whereas SELinux state would not be correctly set back to `enforcing` when `nginx_selinux: true`.
|
||||
|
||||
## 0.18.0 (November 13, 2020)
|
||||
|
||||
BREAKING CHANGES:
|
||||
|
@ -21,8 +21,6 @@
|
||||
selinux:
|
||||
state: permissive
|
||||
policy: targeted
|
||||
changed_when: false
|
||||
when: ansible_facts['selinux']['mode'] == "enforcing"
|
||||
|
||||
- name: Allow SELinux HTTP network connections
|
||||
seboolean:
|
||||
@ -96,7 +94,4 @@
|
||||
selinux:
|
||||
state: enforcing
|
||||
policy: targeted
|
||||
changed_when: false
|
||||
when:
|
||||
- nginx_selinux_enforcing | bool
|
||||
- ansible_facts['selinux']['mode'] == "permissive"
|
||||
when: nginx_selinux_enforcing | bool
|
||||
|
Loading…
Reference in New Issue
Block a user