🚨: yamllint conformity
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
owner: postgres
|
||||
group: postgres
|
||||
state: directory
|
||||
mode: 0700
|
||||
mode: "0o700"
|
||||
|
||||
- name: Populate postgresql directory
|
||||
ansible.builtin.command:
|
||||
@@ -25,14 +25,14 @@
|
||||
ansible.builtin.copy:
|
||||
src: "files/pg_hba.conf"
|
||||
dest: "/etc/postgresql/{{ postgres_pg_version }}/main/pg_hba.conf"
|
||||
mode: "0640"
|
||||
mode: "0o640"
|
||||
notify: Restart postgres
|
||||
|
||||
- name: Put main configuration files
|
||||
ansible.builtin.template:
|
||||
src: "postgresql.conf.j2"
|
||||
dest: "/etc/postgresql/{{ postgres_pg_version }}/main/postgresql.conf"
|
||||
mode: "0644"
|
||||
mode: "0o644"
|
||||
|
||||
- name: Create backup dir
|
||||
ansible.builtin.file:
|
||||
@@ -40,7 +40,7 @@
|
||||
owner: postgres
|
||||
group: postgres
|
||||
state: directory
|
||||
mode: 0755
|
||||
mode: "0o755"
|
||||
|
||||
- name: Cron backup script
|
||||
ansible.builtin.cron:
|
||||
|
Reference in New Issue
Block a user