Fix mongo service paths
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luke Murphy 2020-04-09 21:30:12 +02:00
parent f946d5e9c6
commit 81123de7b5
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 5 deletions

View File

@ -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