From 166635ac79714158b3f7162d51888349395df0e6 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Tue, 8 Oct 2019 10:44:04 +0200 Subject: [PATCH] project_update: Make subversion module honor locale Currently the subversion module does not honor system configured locale as the module itself overrides them to `C`. This commit enforces the module to honor the `LANG` locale for deployment. Allowing project update with repo that contains UTF-8 characters. Closes: https://github.com/ansible/awx/issues/4936 Signed-off-by: Yanis Guenane --- awx/playbooks/project_update.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/playbooks/project_update.yml b/awx/playbooks/project_update.yml index cc05066647..8194367f06 100644 --- a/awx/playbooks/project_update.yml +++ b/awx/playbooks/project_update.yml @@ -75,6 +75,8 @@ force: "{{scm_clean}}" username: "{{scm_username|default(omit)}}" password: "{{scm_password|default(omit)}}" + environment: + LC_ALL: 'en_US.UTF-8' register: svn_result - name: Set the svn repository version