55c7252327
Creates the user and the database provided by the environment variable. These are currently duplicated in postgres.env so we might want to find a way to have them in only one place. I tried my best at keeping the pg_hba.conf file secure for the server, but I am no expert so it'd be great if someone could check it out.
9 lignes
136 o
YAML
9 lignes
136 o
YAML
- name: Set up webserver
|
|
hosts: webservers
|
|
roles:
|
|
- docker
|
|
|
|
- name: Set up databases
|
|
hosts: dbs
|
|
roles:
|
|
- postgresql
|