[TIDY] Update to ansible 4 module names
This commit is contained in:
parent
3c1939f431
commit
a2fc598416
19 changed files with 89 additions and 89 deletions
|
|
@ -3,13 +3,13 @@
|
|||
|
||||
- name: dyndns - Install needed tools
|
||||
become: yes
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: curl
|
||||
state: present
|
||||
|
||||
- name: dyndns - Copy dynDNS script
|
||||
become: yes
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: "{{ role_path }}/templates/ddns-hosts.sh"
|
||||
dest: /usr/local/bin/ddns-hosts.sh
|
||||
owner: "{{ ansible_user_id }}"
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
mode: 0775
|
||||
- name: "dyndns - Create cronjob for {{ ddns_zone }} dynDNS script"
|
||||
become: yes
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
name: "{{ ddns_zone }} dynDNS"
|
||||
minute: "*/5"
|
||||
hour: "*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue