Commit 300d535c authored by Chris Croome's avatar Chris Croome

more than one password to be written to .pgpass

parent 5a9fc723
Pipeline #12769 passed with stage
in 16 seconds
......@@ -28,7 +28,7 @@
- name: Generate a PostgreSQL password and write it to .pgpass
include_tasks: pgpass_write.yml
when:
- ( postgresql_postgres_home_pgpass_stat is defined ) and ( not postgresql_postgres_home_pgpass_stat.stat.exists )
- ( postgresql_postgres_home_pgpass_stat is defined )
- ( postgresql_password is not defined ) or ( postgresql_password is defined and postgresql_password | length <= 0 )
- name: PostgreSQL user present
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment