Possible fix for postgres setup on F21 cloud image
This commit is contained in:
parent
ac71caa0ac
commit
2dd0e51469
1 changed files with 10 additions and 2 deletions
|
@ -61,13 +61,21 @@
|
|||
- name: Copy pg_hba into place
|
||||
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
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Generate locale on Debian systems
|
||||
- name: Generate es_MX locale (Debian)
|
||||
command: locale-gen es_MX
|
||||
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
|
||||
service: name={{ postgresql_service }} state=restarted
|
||||
|
|
Loading…
Reference in a new issue