This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/plays/lib/volumes.yml

18 lines
348 B
YAML
Raw Normal View History

2020-04-14 09:07:24 +00:00
---
- name: Create volume mount directories
become: true
file:
path: "{{ item }}"
state: directory
owner: dokku
group: dokku
with_items: "{{ mounts }}"
when: mounts is defined
2020-04-14 09:07:24 +00:00
- name: Attach volume mounts
dokku_storage:
app: "{{ app }}"
mounts: "{{ item }}"
with_items: "{{ mounts }}"
when: mounts is defined