ansible-role-docker_webfing.../tasks/main.yml
2022-04-20 11:30:07 +02:00

18 lines
490 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