You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
373 B
18 lines
373 B
---
|
|
|
|
- name: Ensure ddclient is installed
|
|
apt:
|
|
name: ddclient
|
|
state: present
|
|
update_cache: true
|
|
become: true
|
|
when: "run_setup|bool and matrix_dynamic_dns_enabled|bool"
|
|
|
|
- name: Ensure ddclient is uninstalled
|
|
apt:
|
|
name: ddclient
|
|
state: absent
|
|
update_cache: true
|
|
become: true
|
|
when: "run_setup|bool and not matrix_dynamic_dns_enabled|bool"
|