2023-07-23 21:21:35 +02:00
|
|
|
- name: docker directory
|
|
|
|
file:
|
|
|
|
path: /opt/{{ docker_paheko_service_id }}/
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
- name: docker data directory
|
|
|
|
file:
|
|
|
|
path: "{{ docker_paheko_data_dir }}/{{ docker_paheko_service_id }}/"
|
|
|
|
state: directory
|
|
|
|
register: _datadir
|
|
|
|
|
|
|
|
- name: prepare docker-compose.yml and files
|
|
|
|
template:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: /opt/{{ docker_paheko_service_id }}/
|
|
|
|
with_items:
|
|
|
|
- docker-compose.yml
|
|
|
|
- config.local.php
|
2023-12-10 18:35:40 +01:00
|
|
|
- ofelia.ini
|
2023-07-23 21:21:35 +02:00
|
|
|
notify: docker-compose-up
|