|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
- name: PostgreSQL packages installed
|
|
|
community.general.pkgng:
|
|
|
- name: postgresql14-server,postgresql14-client,postgresql14-contrib,py39-pip,rsync
|
|
|
+ name: postgresql13-server,postgresql13-client,postgresql13-contrib,py39-pip,rsync
|
|
|
state: latest
|
|
|
|
|
|
- name: Psycopg2 installed
|
|
@@ -14,7 +14,7 @@
|
|
|
shell: sysrc postgresql_enable="YES"
|
|
|
|
|
|
- name: Postgres initialized
|
|
|
- shell: initdb --pgdata=/var/db/postgres/data14
|
|
|
+ shell: initdb --pgdata=/var/db/postgres/data13
|
|
|
become: yes
|
|
|
become_method: su
|
|
|
become_user: postgres
|
|
@@ -23,7 +23,7 @@
|
|
|
- name: Postgres access file patched
|
|
|
patch:
|
|
|
src: pg_hba.conf.patch
|
|
|
- dest: /var/db/postgres/data14/pg_hba.conf
|
|
|
+ dest: /var/db/postgres/data13/pg_hba.conf
|
|
|
become: yes
|
|
|
become_method: su
|
|
|
become_user: postgres
|
|
@@ -32,7 +32,7 @@
|
|
|
- name: Postgres config file patched
|
|
|
patch:
|
|
|
src: postgresql.conf.patch
|
|
|
- dest: /var/db/postgres/data14/postgresql.conf
|
|
|
+ dest: /var/db/postgres/data13/postgresql.conf
|
|
|
become: yes
|
|
|
become_method: su
|
|
|
become_user: postgres
|
|
@@ -40,13 +40,13 @@
|
|
|
|
|
|
- name: Postgres config file permissions fixed
|
|
|
file:
|
|
|
- path: /var/db/postgres/data14/postgresql.conf
|
|
|
+ path: /var/db/postgres/data13/postgresql.conf
|
|
|
owner: postgres
|
|
|
group: postgres
|
|
|
|
|
|
- name: Pg_hba config file permissions fixed
|
|
|
file:
|
|
|
- path: /var/db/postgres/data14/pg_hba.conf
|
|
|
+ path: /var/db/postgres/data13/pg_hba.conf
|
|
|
owner: postgres
|
|
|
group: postgres
|
|
|
|