From 8b321795cf8f2831e5b1f1702a53948572a86be5 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 25 Mar 2020 18:51:34 +0100 Subject: [PATCH] Add directory --- ansible/pre-deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ansible/pre-deploy.yml b/ansible/pre-deploy.yml index 49c267c..cd15a03 100644 --- a/ansible/pre-deploy.yml +++ b/ansible/pre-deploy.yml @@ -15,6 +15,16 @@ - "{{ domain }}" state: present + - name: Create application directories + file: + path: "{{ item }}" + state: directory + owner: dokku + group: dokku + with_items: + - /var/lib/homebase + become: true + - name: Specify docker volume mount dokku_storage: app: homebase