mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-06 19:40:18 +00:00
18 lines
373 B
YAML
18 lines
373 B
YAML
|
---
|
||
|
|
||
|
- 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"
|