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/predeploy/lib/dirs.yml

11 lines
289 B
YAML
Raw Normal View History

2020-04-16 10:20:11 +00:00
---
- name: Create application directories on the system level
become: true
file:
path: "{{ item.path }}"
2020-04-16 10:22:39 +00:00
state: "directory"
2020-04-16 10:20:11 +00:00
owner: "{{ item.owner | default('dokku') }}"
group: "{{ item.group | default('dokku') }}"
with_items: "{{ config.dirs }}"
when: config.dirs