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:
1414BUG FIXES:
1515
1616* Prevent TravisCI from trying to build (and failing) NGINX Plus images on external PRs.
17+ * Fix naming for SELinux facts dict.
1718
1819## 0.2.0 (September 24, 2020)
1920
Original file line number Diff line number Diff line change 33 include_tasks : " {{ role_path }}/tasks/prerequisites/setup-selinux.yml"
44 when :
55 - nginx_config_selinux | bool
6- - ansible_facts['selinux.mode'] is defined
6+ - " 'selinux' in ansible_facts"
7+ - ansible_facts['selinux']['mode'] is defined
78 - ansible_facts['os_family'] in ['RedHat', 'Suse']
89 tags : nginx_config_selinux
910
Original file line number Diff line number Diff line change 2222 state : permissive
2323 policy : targeted
2424 changed_when : false
25- when : ansible_facts['selinux. mode'] == "enforcing"
25+ when : ansible_facts['selinux'][' mode'] == "enforcing"
2626
2727- name : Allow SELinux HTTP network connections
2828 seboolean :
7575 changed_when : false
7676 when :
7777 - 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