Add option to redefine locale
Since CentOS do not support C.UTF-8 locale[1] we're placing system default inside openrc file. If locale can't be found from gathered facts it's defaulted to C.UTF-8. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1361965 Change-Id: I304bacf0e586b119ac41757b96fa237d2839aaf5
This commit is contained in:
parent
53fcf7994a
commit
b79fade909
|
@ -47,3 +47,5 @@ openrc_clouds_yml_file_dest: "{{ openrc_openstack_client_config_dir_dest }}/clou
|
|||
openrc_clouds_yml_file_owner: "{{ ansible_user_id }}"
|
||||
openrc_clouds_yml_file_group: "{{ ansible_user_id }}"
|
||||
openrc_clouds_yml_file_mode: "0600"
|
||||
|
||||
openrc_locale: "{{ ansible_facts.env.LANG | default('C.UTF-8') }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# {{ ansible_managed }}
|
||||
export LC_ALL=C.UTF-8
|
||||
export LC_ALL={{ openrc_locale }}
|
||||
|
||||
# COMMON CINDER ENVS
|
||||
export CINDER_ENDPOINT_TYPE={{ openrc_cinder_endpoint_type }}
|
||||
|
|
Loading…
Reference in New Issue