From feba80a79f3d66c3ed90f41d2950b4ec59cbaea0 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 15 Apr 2020 13:54:54 +0200 Subject: [PATCH] Allow to specify user --- plays/predeploy/lib/volumes.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plays/predeploy/lib/volumes.yml b/plays/predeploy/lib/volumes.yml index 4483acb..9718f53 100644 --- a/plays/predeploy/lib/volumes.yml +++ b/plays/predeploy/lib/volumes.yml @@ -4,8 +4,8 @@ file: path: "{{ item.src }}" state: "{{ item.type }}" - owner: dokku - group: dokku + owner: "{{ item.owner | default('dokku') }}" + group: "{{ item.group | default('dokku') }}" with_items: "{{ config.volumes }}" when: - config.volumes