--- # The home-server project produces a multi-purpose setup using Ansible. # Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license. # Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing. ### UPSTREAM BEGIN ⇒ ### - name: pull prerequisites from upstream include_role: name=etckeeper.inc allow_duplicates=true tasks_from=upstream.yml vars: msg: ddclient ### ⇐ UPSTREAM BEGIN ### - name: install software package: name: ddclient ### UPSTREAM END ⇒ ### - name: merge upstream include_role: name=etckeeper.inc allow_duplicates=true tasks_from=merge.yml vars: msg: ddclient ### ⇐ UPSTREAM END ### - name: create a generic ddclient service copy: content: | [Unit] Description=Dynamic DNS Update Client (%I) After=network-online.target Wants=network-online.target [Service] RuntimeDirectory=ddclient PIDFile=/run/ddclient/%i.pid ;ExecStartPre=-/usr/bin/mkdir /var/cache/ddclient/%i ExecStart=/usr/bin/ddclient -syslog -daemon 1800 -foreground -file /etc/ddclient/%i.conf -cache /var/cache/ddclient/%i -pid /run/ddclient/%i.pid [Install] WantedBy=multi-user.target dest: '/etc/systemd/system/ddclient@.service' mode: 0644 ### LOCAL COMMIT ⇒ ### - name: commit local changes include_role: name=etckeeper.inc allow_duplicates=true tasks_from=local.yml vars: msg: ddclient ### ⇐ LOCAL COMMIT ###