|
|
@ -61,13 +61,21 @@
|
|
|
|
- name: Copy pg_hba into place
|
|
|
|
- name: Copy pg_hba into place
|
|
|
|
copy: src=pg_hba.conf dest="{{ pg_hba_location }}" owner="postgres" group="root" mode="0644"
|
|
|
|
copy: src=pg_hba.conf dest="{{ pg_hba_location }}" owner="postgres" group="root" mode="0644"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate locale on Debian systems
|
|
|
|
- name: Generate pt_BR locale (Debian)
|
|
|
|
command: locale-gen pt_BR
|
|
|
|
command: locale-gen pt_BR
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate locale on Debian systems
|
|
|
|
- name: Generate es_MX locale (Debian)
|
|
|
|
command: locale-gen es_MX
|
|
|
|
command: locale-gen es_MX
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate pt_BR locale (Red Hat)
|
|
|
|
|
|
|
|
command: locale-gen -f UTF-8 -i pt_BR pt_BR
|
|
|
|
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate es_MX locale (Red Hat)
|
|
|
|
|
|
|
|
command: locale-gen -f UTF-8 -i es_MX es_MX
|
|
|
|
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
|
|
|
|
|
|
|
- name: restart postgresql service
|
|
|
|
- name: restart postgresql service
|
|
|
|
service: name={{ postgresql_service }} state=restarted
|
|
|
|
service: name={{ postgresql_service }} state=restarted
|
|
|
|