Allow to specify user

This commit is contained in:
Luke Murphy 2020-04-15 13:54:54 +02:00
parent a1ea62f555
commit feba80a79f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -4,8 +4,8 @@
file: file:
path: "{{ item.src }}" path: "{{ item.src }}"
state: "{{ item.type }}" state: "{{ item.type }}"
owner: dokku owner: "{{ item.owner | default('dokku') }}"
group: dokku group: "{{ item.group | default('dokku') }}"
with_items: "{{ config.volumes }}" with_items: "{{ config.volumes }}"
when: when:
- config.volumes - config.volumes