mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-24 18:51:02 +01:00
16 lines
407 B
YAML
16 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'
|