You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-role-dn42/tasks/pingfinder.yml

27 lines
536 B
YAML

5 years ago
---
- name: Download Pingfinder Script
get_url:
url: "{{ dn42_pingfinder_download_url }}"
dest: "{{ dn42_pingfinder_location }}"
owner: "root"
group: "root"
mode: "0755"
- name: Set pingfinder UUID
cron:
name: "UUID"
job: "{{ dn42_pingfinder_uuid }}"
env: yes
- name: Set pingfinder LOGFILE
cron:
name: "LOGFILE"
job: "{{ dn42_pingfinder_logfile }}"
env: yes
5 years ago
- name: Add Pingfinder Cronjob
cron:
name: Run Pingfinder
job: "{{ dn42_pingfinder_location }}"
5 years ago
minute: "*/5"