18 lines
453 B
YAML
18 lines
453 B
YAML
- name: docker directory
|
|
file:
|
|
path: /opt/{{ docker_wekan_service_id }}/
|
|
state: directory
|
|
|
|
- name: docker data directory
|
|
file:
|
|
path: "{{ docker_wekan_data_dir }}/{{ docker_wekan_service_id }}/"
|
|
state: directory
|
|
register: _datadir
|
|
|
|
- name: prepare docker-compose.yml and files
|
|
template:
|
|
src: "{{ item }}"
|
|
dest: /opt/{{ docker_wekan_service_id }}/
|
|
with_items:
|
|
- docker-compose.yml
|
|
notify: docker-compose-up
|