🚨: yamllint conformity

This commit is contained in:
VC
2024-07-05 11:53:53 +02:00
parent 8ee9a0f8ef
commit 192bf6dfcd
48 changed files with 103 additions and 95 deletions

View File

@@ -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: