ansible-role-docker_jitsimeet/tasks/main.yml

22 lines
604 B
YAML

- name: Docker directory
ansible.builtin.file:
path: /opt/{{ docker_jitsimeet_service_id }}/
state: directory
- name: Prepare docker-compose.yml
ansible.builtin.template:
src: "{{ item }}"
dest: /opt/{{ docker_jitsimeet_service_id }}/
with_items:
- docker-compose.yml
notify: docker-compose-up
- name: Check that turn server is accessible
ansible.builtin.wait_for:
host: "{{ docker_jitsimeet_turnserver_fqdn }}"
port: "{{ docker_jitsimeet_turnserver_port }}"
state: started
delay: 0
timeout: 1
when:
- docker_jitsimeet_turnserver_enabled is true