EOX GitLab Instance

Skip to content
Snippets Groups Projects

Updating the cronjobs for Redhat's update check

Merged Nicolas Baudoin requested to merge redhat_cronjob into main
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
+ 12
0
@@ -164,4 +164,16 @@
- rsyslog
state: absent
tags: 'syslog-ng'
- name: dnf upgrades available cronjobs
block:
- name: check for upgrades
cron:
name: 'check for dnf upgrades'
minute: '*/15'
job: 'dnf check-update >/dev/null 2>&1'
- name: write number of available upgrades
cron:
name: 'write number of available upgrades into dnf.prom'
job: 'echo "dnf_upgrades_pending $(dnf list updates -q | wc -l)" > /var/lib/prometheus/node-exporter/dnf.prom'
tags: dnf_check
tags: redhat
Loading