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

19 lines
490 B
YAML
Raw Normal View History

2022-04-20 11:30:07 +02:00
- 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