ansible-role-docker_webfing.../tasks/main.yml

20 lines
492 B
YAML

- name: docker directory
file:
path: /opt/{{ docker_webfingerserver_service_id }}/
state: directory
- name: prepare docker-compose.yml
template:
src: "{{ item }}"
dest: /opt/{{ docker_webfingerserver_service_id }}/
with_items:
- docker-compose.yml
notify: docker-compose-up
- name: prepare PEWS
copy:
src: PEWS/.well-known
dest: "{{ docker_webfingerserver_data_dir }}/{{ docker_webfingerserver_service_id }}/webfinger/"
notify: docker-compose-up