diff options
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml index 7b67816..dd3dd98 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -26,3 +26,9 @@ src: /etc/sv/postgres dest: /var/service/postgres follow: false +- name: Write pgpass for 'root' + copy: + content: '{{postgres_pgpass}}' + dest: '/root/.pgpass' + mode: '0600' + when: postgres_pgpass is defined |
