File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ ENHANCEMENTS:
14
14
BUG FIXES:
15
15
16
16
* Prevent TravisCI from trying to build (and failing) NGINX Plus images on external PRs.
17
+ * Fix naming for SELinux facts dict.
17
18
18
19
## 0.2.0 (September 24, 2020)
19
20
Original file line number Diff line number Diff line change 3
3
include_tasks : " {{ role_path }}/tasks/prerequisites/setup-selinux.yml"
4
4
when :
5
5
- nginx_config_selinux | bool
6
- - ansible_facts['selinux.mode'] is defined
6
+ - " 'selinux' in ansible_facts"
7
+ - ansible_facts['selinux']['mode'] is defined
7
8
- ansible_facts['os_family'] in ['RedHat', 'Suse']
8
9
tags : nginx_config_selinux
9
10
Original file line number Diff line number Diff line change 22
22
state : permissive
23
23
policy : targeted
24
24
changed_when : false
25
- when : ansible_facts['selinux. mode'] == "enforcing"
25
+ when : ansible_facts['selinux'][' mode'] == "enforcing"
26
26
27
27
- name : Allow SELinux HTTP network connections
28
28
seboolean :
75
75
changed_when : false
76
76
when :
77
77
- nginx_config_selinux_enforcing
78
- - ansible_facts['selinux. mode'] == "permissive"
78
+ - ansible_facts['selinux'][' mode'] == "permissive"
You can’t perform that action at this time.
0 commit comments