This commit is contained in:
parent
f946d5e9c6
commit
81123de7b5
@ -15,23 +15,23 @@
|
||||
- "{{ domain }}"
|
||||
state: present
|
||||
|
||||
- name: Create mongodb database
|
||||
- name: Create mongo database
|
||||
no_log: true
|
||||
shell: "
|
||||
dokku
|
||||
mongodb:create
|
||||
mongo:create
|
||||
alerta
|
||||
--password {{ db_passwd }}
|
||||
--root-password {{ root_db_passwd }}
|
||||
"
|
||||
args:
|
||||
creates: /var/lib/dokku/services/mongodb/alerta
|
||||
creates: /var/lib/dokku/services/mongo/alerta
|
||||
|
||||
- name: Link mongodb database to application
|
||||
- name: Link mongo database to application
|
||||
dokku_service_link:
|
||||
app: alerta
|
||||
name: alerta
|
||||
service: mongodb
|
||||
service: mongo
|
||||
|
||||
- name: Create application directories
|
||||
become: true
|
||||
|
Reference in New Issue
Block a user