Remove item from name and add mongo to mount map

This commit is contained in:
Luke Murphy 2020-04-16 12:19:47 +02:00
parent 73771e63cb
commit 3f0d5c41d9
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -4,9 +4,10 @@
set_fact:
mount_map:
mariadb: /var/lib/mysql
mongo: /var/lib/mongo
when: config.db
- name: "Create {{ item.type }} database"
- name: Create database
no_log: true
shell: "
dokku
@ -20,7 +21,7 @@
with_items: "{{ config.db }}"
when: config.db
- name: "Link {{ item.type }} database to application"
- name: Link database to application
no_log: true
dokku_service_link:
app: "{{ dokku.app }}"
@ -29,7 +30,7 @@
with_items: "{{ config.db }}"
when: config.db
- name: "Specify {{ item.type }} volume mounts"
- name: Specify volume mounts
no_log: true
dokku_storage:
app: "{{ dokku.app }}"