Skip to content

Commit f6572a8

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Ensure locale is always set for Ansible"
2 parents c0dc07d + 292da96 commit f6572a8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/bootstrap-ansible.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ export ANSIBLE_CONFIG="none-ansible.cfg"
215215
export ANSIBLE_COLLECTIONS_PATH="/etc/ansible"
216216
export ANSIBLE_TRANSPORT="smart"
217217
export ANSIBLE_STRATEGY="linear"
218+
export LC_ALL="${LC_ALL:-C.UTF-8}"
218219

219220
pushd scripts
220221
if ([ -f "${ANSIBLE_COLLECTION_FILE}" ] || [ -f "${USER_COLLECTION_FILE}" ]) && [[ -z "${SKIP_OSA_COLLECTION_CLONE+defined}" ]]; then

scripts/openstack-ansible.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
export LC_ALL="${LC_ALL:-C.UTF-8}"
16+
1517
export OSA_CONFIG_DIR="${OSA_CONFIG_DIR:-/etc/openstack_deploy}"
1618

1719
export ANSIBLE_RETRY_FILES_ENABLED="${ANSIBLE_RETRY_FILES_ENABLED:-False}"

0 commit comments

Comments
 (0)