Initial commit
This commit is contained in:
7
playbooks/mongo_install.yml
Normal file
7
playbooks/mongo_install.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Install mongodb
|
||||
hosts: mongo
|
||||
roles:
|
||||
- install_mongo
|
||||
- configure_mongo
|
||||
- mongo_backup
|
||||
14
playbooks/mongo_users.yml
Normal file
14
playbooks/mongo_users.yml
Normal 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 }}"
|
||||
7
playbooks/postgres_install.yml
Normal file
7
playbooks/postgres_install.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Install postgresql
|
||||
hosts: postgres
|
||||
roles:
|
||||
- install_postgres
|
||||
- configure_postgres
|
||||
- postgres_backup
|
||||
9
playbooks/postgres_users.yml
Normal file
9
playbooks/postgres_users.yml
Normal 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 }}"
|
||||
Reference in New Issue
Block a user