Use /var/lib/bodhi for the nagios cron check file.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
83f8114fae
commit
8a9700ccab
1 changed files with 9 additions and 1 deletions
|
@ -181,13 +181,21 @@
|
|||
- bodhi
|
||||
- cron
|
||||
|
||||
- name: Ensure that /var/lib/bodhi exists
|
||||
file:
|
||||
path: /var/lib/bodhi
|
||||
state: directory
|
||||
mode: 0755
|
||||
owner: apache
|
||||
group: apache
|
||||
|
||||
- name: Install weekly bodhi-dequeue-stable cron job that moves updates from batched to stable
|
||||
cron:
|
||||
name: "bodhi-dequeue-stable"
|
||||
minute: "0"
|
||||
hour: "3"
|
||||
weekday: "2"
|
||||
job: "/usr/bin/bodhi-dequeue-stable && touch /var/run/bodhi-weekly-run"
|
||||
job: "/usr/bin/bodhi-dequeue-stable && touch /var/lib/bodhi/dequeue-stable"
|
||||
user: "apache"
|
||||
when: inventory_hostname.startswith('bodhi-backend01')
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue