mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 10:01:44 +08:00
Ensure the fedmsg user has a homedir for cron to work.
This commit is contained in:
@@ -1 +1 @@
|
||||
58 * * * * fedmsg /usr/share/badges/cronjobs/award-libravatar-badge > /var/log/fedmsg/award-libravatar-badge-cron.log 2>&1
|
||||
40 * * * * fedmsg /usr/share/badges/cronjobs/award-libravatar-badge > /var/log/fedmsg/award-libravatar-badge-cron.log 2>&1
|
||||
|
||||
@@ -55,6 +55,16 @@
|
||||
notify:
|
||||
- restart fedmsg-hub
|
||||
|
||||
- name: ensure the fedmsg user has a homedir for cron to work
|
||||
file: >
|
||||
state=directory
|
||||
path=/usr/share/fedmsg
|
||||
mode=700
|
||||
owner=fedmsg
|
||||
group=fedmsg
|
||||
tags:
|
||||
- config
|
||||
- cron
|
||||
|
||||
- name: ensure badges cron directories exist
|
||||
file: >
|
||||
|
||||
Reference in New Issue
Block a user