From 81123de7b517751a7f8b9138885a0e84ef861513 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 9 Apr 2020 21:30:12 +0200 Subject: [PATCH] Fix mongo service paths --- ansible/pre-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/pre-deploy.yml b/ansible/pre-deploy.yml index 3f8c59d..912a23c 100644 --- a/ansible/pre-deploy.yml +++ b/ansible/pre-deploy.yml @@ -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