This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-14 09:07:24 +00:00
|
|
|
---
|
2020-04-14 09:23:30 +00:00
|
|
|
|
2020-04-15 12:07:18 +00:00
|
|
|
# TODO(decentral1se): fix handling, this is broken
|
|
|
|
# - name: Create volume mount directories
|
|
|
|
# become: true
|
|
|
|
# file:
|
|
|
|
# path: "{{ item.src }}"
|
|
|
|
# state: "{{ item.type }}"
|
|
|
|
# owner: "{{ item.owner | default('dokku') }}"
|
|
|
|
# group: "{{ item.group | default('dokku') }}"
|
|
|
|
# with_items: "{{ config.volumes }}"
|
|
|
|
# when:
|
|
|
|
# - config.volumes
|
|
|
|
# - item.create | default(false)
|
|
|
|
|
|
|
|
# - name: Attach volume mounts
|
|
|
|
# dokku_storage:
|
|
|
|
# app: "{{ dokku.app }}"
|
|
|
|
# mounts: "{{ item.src }}:{{ item.dest }}"
|
|
|
|
# with_items: "{{ config.volumes }}"
|
|
|
|
# when: config.volumes
|