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

16 lines
342 B
YAML
Raw Normal View History

2020-10-13 23:18:38 +00:00
---
- name: Ensure ddclient is installed
pacman:
name: ddclient
state: latest
when: "run_setup|bool and matrix_dynamic_dns_enabled|bool"
- name: Ensure ddclient is uninstalled
pacman:
name: ddclient
state: absent
update_cache: true
become: true
when: "run_setup|bool and not matrix_dynamic_dns_enabled|bool"