style: make ansible-lint happy
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
- name: Populate postgresql directory
|
||||
ansible.builtin.command:
|
||||
cmd: "/usr/lib/postgresql/{{ pg_version }}/bin/initdb -E UTF-8 /srv/postgresql/"
|
||||
cmd: "/usr/lib/postgresql/{{ postgres_pg_version }}/bin/initdb -E UTF-8 /srv/postgresql/"
|
||||
creates: /srv/postgresql/PG_VERSION
|
||||
become: true
|
||||
become_user: postgres
|
||||
@@ -24,14 +24,14 @@
|
||||
- name: Put hba configuration files
|
||||
ansible.builtin.copy:
|
||||
src: "files/pg_hba.conf"
|
||||
dest: "/etc/postgresql/{{ pg_version }}/main/pg_hba.conf"
|
||||
dest: "/etc/postgresql/{{ postgres_pg_version }}/main/pg_hba.conf"
|
||||
mode: "0640"
|
||||
notify: Restart postgres
|
||||
|
||||
- name: Put main configuration files
|
||||
ansible.builtin.template:
|
||||
src: "postgresql.conf.j2"
|
||||
dest: "/etc/postgresql/{{ pg_version }}/main/postgresql.conf"
|
||||
dest: "/etc/postgresql/{{ postgres_pg_version }}/main/postgresql.conf"
|
||||
mode: "0644"
|
||||
|
||||
- name: Create backup dir
|
||||
|
Reference in New Issue
Block a user