ansible/roles/ddclient/tasks/main.yml

19 lines
424 B
YAML
Raw Normal View History

2021-01-09 17:54:42 +00:00
---
- block:
- import_tasks: install.yml
2022-05-23 11:59:39 +00:00
when: not ddclient_containerized
2021-01-09 17:54:42 +00:00
- import_tasks: configure.yml
2022-05-23 11:59:39 +00:00
when: not ddclient_containerized
2021-01-09 17:54:42 +00:00
become: true
- block:
- import_tasks: docker.yml
2022-05-23 11:59:39 +00:00
when:
- ddclient_containerized
- ddclient_container_engine == "docker"
- import_tasks: podman.yml
when:
- ddclient_containerized
- ddclient_container_engine == "podman"
2021-01-09 17:54:42 +00:00
become: true