matrix-docker-ansible-deploy/roles/matrix-dynamic-dns/tasks/init.yml

8 lines
369 B
YAML
Raw Normal View History

2020-10-13 23:18:38 +00:00
- set_fact:
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['ddclient'] }}"
2020-10-17 04:21:58 +00:00
when: "matrix_dynamic_dns_enabled|bool and matrix_dynamic_dns_mode == 'dhcp'"
- set_fact:
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-dynamic-dns'] }}"
when: "matrix_dynamic_dns_enabled|bool and matrix_dynamic_dns_mode == 'daemon'"