mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
fix: Use correct path to pgpass.temp file
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
mode: "600"
|
mode: "600"
|
||||||
- name: Create database
|
- name: Create database
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: initdb --pwfile ~/pgpass.temp --auth=scram-sha-256 -E UTF8 -D ~/opt/postgresql/data/
|
cmd: initdb --pwfile ~/.pgpass.temp --auth=scram-sha-256 -E UTF8 -D ~/opt/postgresql/data/
|
||||||
creates: ~/opt/postgresql/data
|
creates: ~/opt/postgresql/data
|
||||||
- name: Delete temporary password file
|
- name: Delete temporary password file
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|||||||
Reference in New Issue
Block a user