Merge "Use osp_release flag to set selinux mode"
This commit is contained in:
commit
768695d904
@ -183,8 +183,8 @@ resource_registry_args:
|
|||||||
|
|
||||||
# We disable selinux when running under CentOS. It's enabled for RHEL
|
# We disable selinux when running under CentOS. It's enabled for RHEL
|
||||||
overcloud_selinux_enabled: >-
|
overcloud_selinux_enabled: >-
|
||||||
{% if ansible_distribution == 'CentOS' -%}
|
{% if osp_release is defined -%}
|
||||||
permissive
|
|
||||||
{%- else -%}
|
|
||||||
enforcing
|
enforcing
|
||||||
|
{%- else -%}
|
||||||
|
permissive
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
@ -85,10 +85,10 @@ default_undercloud_roles_data_path: "{{ undercloud_templates_path }}/roles_data_
|
|||||||
|
|
||||||
# We disable selinux when running under CentOS. It's enabled for RHEL
|
# We disable selinux when running under CentOS. It's enabled for RHEL
|
||||||
undercloud_selinux_enabled: >-
|
undercloud_selinux_enabled: >-
|
||||||
{% if ansible_distribution == 'CentOS' -%}
|
{% if osp_release is defined -%}
|
||||||
false
|
|
||||||
{%- else -%}
|
|
||||||
true
|
true
|
||||||
|
{%- else -%}
|
||||||
|
false
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
undercloud_container_cli: >-
|
undercloud_container_cli: >-
|
||||||
|
Loading…
Reference in New Issue
Block a user