]> git.phdru.name Git - ansible.git/commitdiff
Antifeature: Ansible now requires UTF-8 locale but I don't
authorOleg Broytman <phd@phdru.name>
Thu, 15 Jun 2023 14:28:21 +0000 (17:28 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 15 Jun 2023 14:28:21 +0000 (17:28 +0300)
playbooks/ansible/cleanup-tmp.sh
playbooks/fetch-push/fetch
playbooks/fetch-push/push

index 1fdefca184e7ae7e197c667425f74bf2f1d4bc8c..a706a8f69bb2c9dc33c1f66f7a3dea7621223f2a 100755 (executable)
@@ -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/\*
index c823cd94bbb848a1e43ed38f74a669ebb7ee9ea8..d658b57919a621b53eb40598a6b89a3229353ef1 100755 (executable)
@@ -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" "$@"
index 1953bb8d07736195d06edcfeccf8935b4349d372..5e2d40ddd08d2b20a52517a569b6319bf59824ef 100755 (executable)
@@ -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" "$@"