copr-frontend: install custom crontabs for error supressing
there are some problems with cronjobs that should be fixed upstream. Given that copr admins are not the ones receiving the error emails, it's the best to just supress them.
This commit is contained in:
parent
5334303117
commit
36db52de20
3 changed files with 8 additions and 2 deletions
3
roles/copr/frontend-cloud/files/cron.daily/copr-frontend
Normal file
3
roles/copr/frontend-cloud/files/cron.daily/copr-frontend
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
runuser -c '/usr/share/copr/coprs_frontend/manage.py vacuum_graphs' - copr-fe
|
|
@ -8,8 +8,11 @@
|
|||
command: "restorecon -vvRF /var/lib/pgsql"
|
||||
when: pgsql_ls.stdout is defined and 'postgresql_db_t' not in pgsql_ls.stdout
|
||||
|
||||
- name: install custom copr-frontend-crontab to make update_graphs silent
|
||||
copy: src=copr-frontend dest=/etc/cron.daily/
|
||||
- name: install daily custom copr-frontend-crontab
|
||||
copy: src=cron.daily/copr-frontend dest=/etc/cron.daily/
|
||||
|
||||
- name: install hourly custom copr-frontend-crontab
|
||||
copy: src=cron.hourly/copr-frontend dest=/etc/cron.hourly/
|
||||
|
||||
- name: install copr-frontend and copr-selinux
|
||||
dnf: state=latest name={{ item }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue