diff --git a/Makefile b/Makefile index 51d3fd2..c1fc11c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +# Make sure to standardize locale, regardless of the machine config +# +# Having a different locale broke "yes | pacman -S" to force-install +# iptables, for example +export LC_ALL = en_US.UTF-8 + ansible_run = ansible-playbook --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS} .PHONY: config diff --git a/install.sh b/install.sh index c771a42..b4c79ff 100755 --- a/install.sh +++ b/install.sh @@ -8,6 +8,12 @@ set -o errexit set -o nounset +# Make sure to standardize locale, regardless of the machine config +# +# Having a different locale broke "yes | pacman -S" to force-install +# iptables, for example +export LC_ALL="en_US.UTF-8" + DOTDIR="/var/lib/dotfiles" os_release_file=/etc/os-release