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
1 changed files with 2 additions and 2 deletions

View File

@ -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