From: Oleg Broytman Date: Thu, 15 Jun 2023 14:28:21 +0000 (+0300) Subject: Antifeature: Ansible now requires UTF-8 locale but I don't X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f3c24ef90ebf545cbf10113373736c23da22df39;p=ansible.git Antifeature: Ansible now requires UTF-8 locale but I don't --- diff --git a/playbooks/ansible/cleanup-tmp.sh b/playbooks/ansible/cleanup-tmp.sh index 1fdefca..a706a8f 100755 --- a/playbooks/ansible/cleanup-tmp.sh +++ b/playbooks/ansible/cleanup-tmp.sh @@ -1,6 +1,6 @@ #! /bin/sh -hosts="`\"$HOME\"/.virtualenvs/ansible/bin/ansible --list-hosts servers | tail -n +2`" +LC_CTYPE=en_US.UTF-8 hosts="`\"$HOME\"/.virtualenvs/ansible/bin/ansible --list-hosts servers | tail -n +2`" echo localhost rm -rf "$HOME"/.ansible/tmp/\* diff --git a/playbooks/fetch-push/fetch b/playbooks/fetch-push/fetch index c823cd9..d658b57 100755 --- a/playbooks/fetch-push/fetch +++ b/playbooks/fetch-push/fetch @@ -2,4 +2,4 @@ start_dir="`pwd`" && fetch_push_dir="`dirname \"$0\"`" && -exec "$HOME"/.virtualenvs/ansible/bin/ansible-playbook -v "$fetch_push_dir"/fetch.yaml -e start_dir="$start_dir" "$@" +LC_CTYPE=en_US.UTF-8 exec "$HOME"/.virtualenvs/ansible/bin/ansible-playbook -v "$fetch_push_dir"/fetch.yaml -e start_dir="$start_dir" "$@" diff --git a/playbooks/fetch-push/push b/playbooks/fetch-push/push index 1953bb8..5e2d40d 100755 --- a/playbooks/fetch-push/push +++ b/playbooks/fetch-push/push @@ -2,4 +2,4 @@ start_dir="`pwd`" && fetch_push_dir="`dirname \"$0\"`" && -exec "$HOME"/.virtualenvs/ansible/bin/ansible-playbook -v "$fetch_push_dir"/push.yaml -e start_dir="$start_dir" "$@" +LC_CTYPE=en_US.UTF-8 exec "$HOME"/.virtualenvs/ansible/bin/ansible-playbook -v "$fetch_push_dir"/push.yaml -e start_dir="$start_dir" "$@"