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.
|
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)
|
## 0.18.0 (November 13, 2020)
|
||||||
|
|
||||||
BREAKING CHANGES:
|
BREAKING CHANGES:
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
selinux:
|
selinux:
|
||||||
state: permissive
|
state: permissive
|
||||||
policy: targeted
|
policy: targeted
|
||||||
changed_when: false
|
|
||||||
when: ansible_facts['selinux']['mode'] == "enforcing"
|
|
||||||
|
|
||||||
- name: Allow SELinux HTTP network connections
|
- name: Allow SELinux HTTP network connections
|
||||||
seboolean:
|
seboolean:
|
||||||
@ -96,7 +94,4 @@
|
|||||||
selinux:
|
selinux:
|
||||||
state: enforcing
|
state: enforcing
|
||||||
policy: targeted
|
policy: targeted
|
||||||
changed_when: false
|
when: nginx_selinux_enforcing | bool
|
||||||
when:
|
|
||||||
- nginx_selinux_enforcing | bool
|
|
||||||
- ansible_facts['selinux']['mode'] == "permissive"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user