Merge "Update task about selinux set."
This commit is contained in:
commit
151d7fff55
@ -12,7 +12,9 @@ create_kolla_user: True
|
|||||||
|
|
||||||
enable_host_ntp: True
|
enable_host_ntp: True
|
||||||
|
|
||||||
disable_selinux: True
|
change_selinux: True
|
||||||
|
|
||||||
|
selinux_state: "permissive"
|
||||||
|
|
||||||
docker_storage_driver: ""
|
docker_storage_driver: ""
|
||||||
|
|
||||||
|
@ -115,13 +115,13 @@
|
|||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
- enable_host_ntp | bool
|
- enable_host_ntp | bool
|
||||||
|
|
||||||
- name: Disable selinux
|
- name: Change state of selinux
|
||||||
selinux:
|
selinux:
|
||||||
policy: target
|
policy: targeted
|
||||||
state: permissive
|
state: "{{ selinux_state }}"
|
||||||
become: true
|
become: true
|
||||||
when:
|
when:
|
||||||
- disable_selinux | bool
|
- change_selinux | bool
|
||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
|
|
||||||
- name: Reboot
|
- name: Reboot
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Add a new parameter for changing selinux state. The default value is
|
||||||
|
"permissive". Update a parameter named "disable_selinux", use
|
||||||
|
"change_selinux" instead of it.
|
Loading…
x
Reference in New Issue
Block a user