pending changes
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m18s
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m18s
This commit is contained in:
18
roles/nsd/tasks/cron.yml
Normal file
18
roles/nsd/tasks/cron.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
|
||||
- name: Install cron script
|
||||
ansible.builtin.template:
|
||||
src: resignall.sh.j2
|
||||
dest: "{{ nsd_cron_script }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0o750"
|
||||
|
||||
- name: Install cron
|
||||
ansible.builtin.cron:
|
||||
name: "NSD zone resign"
|
||||
hour: "3"
|
||||
minute: "2"
|
||||
weekday: "3"
|
||||
job: "{{ nsd_cron_script }} &> /dev/null"
|
||||
state: present
|
Reference in New Issue
Block a user