feat(ansible): add mnemosyne db and update ouranos documentation
- Configure mnemosyne database credentials in ansible inventory - Update postgresql playbook to provision user and database - Add setup instructions and DB list to documentation
This commit is contained in:
@@ -50,6 +50,9 @@ periplus_db_password: "{{ vault_periplus_db_password }}"
|
||||
daedalus_db_name: daedalus
|
||||
daedalus_db_user: daedalus
|
||||
daedalus_db_password: "{{ vault_daedalus_db_password }}"
|
||||
mnemosyne_db_name: mnemosyne
|
||||
mnemosyne_db_user: mnemosyne
|
||||
mnemosyne_db_password: "{{ vault_mnemosyne_db_password }}"
|
||||
|
||||
# PostgreSQL admin password
|
||||
postgres_password: "{{ vault_postgres_password }}"
|
||||
|
||||
@@ -203,6 +203,7 @@
|
||||
- { user: "{{ nike_db_user }}", password: "{{ nike_db_password }}" }
|
||||
- { user: "{{ periplus_db_user }}", password: "{{ periplus_db_password }}" }
|
||||
- { user: "{{ daedalus_db_user }}", password: "{{ daedalus_db_password }}" }
|
||||
- { user: "{{ mnemosyne_db_user }}", password: "{{ mnemosyne_db_password }}" }
|
||||
no_log: true
|
||||
|
||||
- name: Create application databases with owners
|
||||
@@ -226,6 +227,7 @@
|
||||
- { name: "{{ nike_db_name }}", owner: "{{ nike_db_user }}" }
|
||||
- { name: "{{ periplus_db_name }}", owner: "{{ periplus_db_user }}" }
|
||||
- { name: "{{ daedalus_db_name }}", owner: "{{ daedalus_db_user }}" }
|
||||
- { name: "{{ mnemosyne_db_name }}", owner: "{{ mnemosyne_db_user }}" }
|
||||
|
||||
- name: Enable postgis and pg_trgm extensions in periplus database
|
||||
community.postgresql.postgresql_ext:
|
||||
|
||||
Reference in New Issue
Block a user