mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-21 22:40:41 +02:00
e9e44d445c
C.UTF-8 is installed by default, so we can avoid messing with locale-gen
by using that.
All the postgres servers (excluding matrix due to[1]) have been migrated
with the following commands:
# sudo -u postgres pg_dumpall > d
# sed "s/LOCALE = 'C'/LOCALE = 'C.UTF-8'/" -i d
# systemctl stop postgresql.service
# mv /var/lib/postgres/data{,.old}
$ ansible-playbook --diff -t postgres playbooks/<host>.yml
# sudo -u postgres psql < d
[1]
|
||
---|---|---|
.. | ||
files | ||
tasks | ||
templates |