mirror of
https://gitea.0xace.cc/ansible-galaxy/patroni.git
synced 2024-11-24 23:56:39 +00:00
add locales for debian based os
This commit is contained in:
parent
e5195e0592
commit
c1f47b991f
@ -4,6 +4,12 @@
|
||||
state: present
|
||||
when: ansible_facts['os_family'] == 'RedHat'
|
||||
|
||||
- name: Install locales-all for Debian
|
||||
apt:
|
||||
name: locales-all
|
||||
state: present
|
||||
when: ansible_distribution_file_variety == 'Debian'
|
||||
|
||||
- name: Check if locale exists
|
||||
shell: "locale -a | grep -i {{ patroni_postgresql_system_locale | regex_replace('-', '') | quote }}"
|
||||
register: found_locale
|
||||
|
Loading…
Reference in New Issue
Block a user