1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-24 18:51:02 +01:00
ansible-collection-prometheus/roles/prometheus_node_openbsd/tasks/syspatch.yml
2020-11-13 10:36:46 +01:00

15 lines
407 B
YAML

---
- name: create syspatch check script
template:
src: syspatch.sh.j2
dest: /usr/local/bin/prometheus-node-exporter-syspatch.sh
owner: root
group: bin
mode: 0755
- name: register syspatch check script in cron
lineinfile:
path: /etc/daily.local
regexp: '^/usr/local/bin/prometheus-node-exporter-syspatch.sh$'
line: '/usr/local/bin/prometheus-node-exporter-syspatch.sh'