fqcn[action-core]: Use FQCN for builtin module actions (service). roles/apache_letsencrypt/handlers/main.yml:3 Use `ansible.builtin.service` or `ansible.legacy.service` instead. fqcn[action-core]: Use FQCN for builtin module actions (apt). roles/dd24_dyndns_cron/tasks/main.yml:2 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead. fqcn[action-core]: Use FQCN for builtin module actions (apt). roles/desec_dyndns_cron/tasks/main.yml:2 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead. fqcn[action-core]: Use FQCN for builtin module actions (command). roles/nfs_host/handlers/main.yml:2 Use `ansible.builtin.command` or `ansible.legacy.command` instead.
18 lines
466 B
YAML
18 lines
466 B
YAML
---
|
|
- name: Make sure cron and curl are installed
|
|
ansible.builtin.apt:
|
|
name:
|
|
- cron
|
|
- curl
|
|
state: present
|
|
|
|
- name: Setup cron file for DD24 updates
|
|
ansible.builtin.template:
|
|
src: "templates/dd24-dyndns.cron.j2"
|
|
dest: "/etc/cron.d/dd24-dyndns"
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
notify: Reload cron
|
|
# There is ansible.builtin.cron, but this makes configuration much
|
|
# more complicated, so we stick to the template.
|