Fix mongo service paths
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f946d5e9c6
commit
81123de7b5
|
@ -15,23 +15,23 @@
|
||||||
- "{{ domain }}"
|
- "{{ domain }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Create mongodb database
|
- name: Create mongo database
|
||||||
no_log: true
|
no_log: true
|
||||||
shell: "
|
shell: "
|
||||||
dokku
|
dokku
|
||||||
mongodb:create
|
mongo:create
|
||||||
alerta
|
alerta
|
||||||
--password {{ db_passwd }}
|
--password {{ db_passwd }}
|
||||||
--root-password {{ root_db_passwd }}
|
--root-password {{ root_db_passwd }}
|
||||||
"
|
"
|
||||||
args:
|
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:
|
dokku_service_link:
|
||||||
app: alerta
|
app: alerta
|
||||||
name: alerta
|
name: alerta
|
||||||
service: mongodb
|
service: mongo
|
||||||
|
|
||||||
- name: Create application directories
|
- name: Create application directories
|
||||||
become: true
|
become: true
|
||||||
|
|
Reference in New Issue