mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2025-01-18 12:02:25 +00:00
add locales for debian based os
This commit is contained in:
parent
f50e4743d2
commit
4df0c37224
@ -4,6 +4,12 @@
|
|||||||
state: present
|
state: present
|
||||||
when: ansible_facts['os_family'] == 'RedHat'
|
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
|
- name: Check if locale exists
|
||||||
shell: "locale -a | grep -i {{ postgresql_system_locale | regex_replace('-', '') | quote }}"
|
shell: "locale -a | grep -i {{ postgresql_system_locale | regex_replace('-', '') | quote }}"
|
||||||
register: found_locale
|
register: found_locale
|
||||||
|
Loading…
Reference in New Issue
Block a user