Skip to content
Snippets Groups Projects
Commit 151d7fff authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Update task about selinux set."

parents e8d541d8 4f98f08f
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,9 @@ create_kolla_user: True
enable_host_ntp: True
disable_selinux: True
change_selinux: True
selinux_state: "permissive"
docker_storage_driver: ""
......
......@@ -115,13 +115,13 @@
- ansible_os_family == "RedHat"
- enable_host_ntp | bool
- name: Disable selinux
- name: Change state of selinux
selinux:
policy: target
state: permissive
policy: targeted
state: "{{ selinux_state }}"
become: true
when:
- disable_selinux | bool
- change_selinux | bool
- ansible_os_family == "RedHat"
- name: Reboot
......
---
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment