2020-12-13 20:40:32 +01:00
|
|
|
---
|
2020-12-13 21:56:56 +01:00
|
|
|
|
2020-12-13 23:25:13 +01:00
|
|
|
# TODO - we should ensure matrix-postgres.service is started.
|
|
|
|
# .. and that if we had just started it, we've given it ample time to initialize,
|
|
|
|
# before we attempt to run queries against it.
|
2020-12-13 20:40:32 +01:00
|
|
|
|
2020-12-13 23:25:13 +01:00
|
|
|
- name: Create additional Postgers user and database
|
|
|
|
include_tasks: "{{ role_path }}/tasks/util/create_additional_database.yml"
|
|
|
|
with_items: "{{ matrix_postgres_additional_databases }}"
|
|
|
|
loop_control:
|
|
|
|
loop_var: additional_db
|
|
|
|
# Suppress logging to avoid dumping the credentials to the shell
|
|
|
|
no_log: true
|