Group plays to hooks

This commit is contained in:
Luke Murphy
2020-04-14 11:30:40 +02:00
parent 0079925738
commit c099827d88
16 changed files with 63 additions and 63 deletions

View File

@ -0,0 +1,17 @@
---
- name: Create volume mount directories
become: true
file:
path: "{{ item }}"
state: directory
owner: dokku
group: dokku
with_items: "{{ mounts }}"
when: mounts is defined
- name: Attach volume mounts
dokku_storage:
app: "{{ app }}"
mounts: "{{ item }}"
with_items: "{{ mounts }}"
when: mounts is defined