Commit 2dd0e514 by Toshio Kuratomi

Possible fix for postgres setup on F21 cloud image

parent ac71caa0
...@@ -61,13 +61,21 @@ ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment