Initial commit
Some checks failed
Ansible Playbook lint & deploy / ansible-lint (push) Successful in 12s
Ansible Playbook lint & deploy / run-ansible-mongo (push) Failing after 6s
Ansible Playbook lint & deploy / run-ansible-postgres (push) Failing after 7s

This commit is contained in:
2024-12-03 00:56:20 +00:00
commit 32d815621d
29 changed files with 465 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
---
- name: Install mongodb
hosts: mongo
roles:
- install_mongo
- configure_mongo
- mongo_backup

14
playbooks/mongo_users.yml Normal file
View File

@@ -0,0 +1,14 @@
---
- name: Configure mongo users
hosts: mongo
roles:
- role: mongo_users
vars:
mongo_users_database: amane
mongo_users_username: amane
mongo_users_password: "{{ amane_password }}"
- role: mongo_users
vars:
mongo_users_database: hina
mongo_users_username: hina
mongo_users_password: "{{ hina_password }}"

View File

@@ -0,0 +1,7 @@
---
- name: Install postgresql
hosts: postgres
roles:
- install_postgres
- configure_postgres
- postgres_backup

View File

@@ -0,0 +1,9 @@
---
- name: Configure postgres users
hosts: postgres
roles:
- role: postgres_users
vars:
postgres_users_database: hedgedoc
postgres_users_username: hedgedoc
postgres_users_password: "{{ hedgedoc_pass }}"