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