From a26e9f2c60f60f264edba290842cf56265d4f498 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 15 Apr 2020 14:07:18 +0200 Subject: [PATCH] Disable volume handing for now --- plays/predeploy/lib/volumes.yml | 36 +++++++++++++++++---------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/plays/predeploy/lib/volumes.yml b/plays/predeploy/lib/volumes.yml index 9718f53..c5bb13d 100644 --- a/plays/predeploy/lib/volumes.yml +++ b/plays/predeploy/lib/volumes.yml @@ -1,19 +1,21 @@ --- -- 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 +# 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