mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-12-30 12:40:25 +00:00
Added role for dynamic dns
This commit is contained in:
16
roles/matrix-dynamic-dns/tasks/platform/archlinux.yml
Normal file
16
roles/matrix-dynamic-dns/tasks/platform/archlinux.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- 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"
|
||||
|
||||
Reference in New Issue
Block a user