library/roles/redmine: Install a cron job together with the update_reminder plugin
dnet-openaire/host_vars/nextissue.research-infrastructures.eu/main.yml: a variable was missing.
This commit is contained in:
parent
9f506ae533
commit
9b3d838d54
|
@ -30,6 +30,8 @@ rm_autowatcher_plugin: False
|
|||
rm_issuereminder_plugin: False
|
||||
# https://github.com/arkhitech/redmine_update_reminder
|
||||
rm_updatereminder_plugin: False
|
||||
rm_updatereminder_plugin_freq_min: 0
|
||||
rm_updatereminder_plugin_freq_hour: 0
|
||||
rm_mention_plugin: False
|
||||
rm_mentions_plugin: False
|
||||
rm_defaultcustomquery_plugin: False
|
||||
|
|
|
@ -197,10 +197,12 @@
|
|||
when: rm_updatereminder_plugin
|
||||
notify:
|
||||
- Bundle install and reconfigure redmine
|
||||
tags:
|
||||
- redmine
|
||||
- redmine_plugins
|
||||
- redmine_plugins_updatereminder
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_updatereminder' ]
|
||||
|
||||
- name: Install the update reminder plugin cron job. The ruby scheduler does not work, it seems
|
||||
template: src=redmine_update_reminder.cron.j2 dest=/etc/cron.d/redmine_update_reminder owner=root group=root mode=0644
|
||||
when: rm_updatereminder_plugin
|
||||
tags: [ 'redmine', 'redmine_plugins', 'redmine_plugins_updatereminder' ]
|
||||
|
||||
- name: Install the mention plugin
|
||||
git: repo=https://github.com/stpl/redmine_mention_plugin dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/plugins/redmine_mention_plugin update=no
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
{{ rm_updatereminder_plugin_freq_min }} {{ rm_updatereminder_plugin_freq_hour }} * * * {{ redmine_user }} rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent RAILS_ENV=production redmine_update_reminder:send_reminders >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-update_send_reminders.log 2>&1
|
Loading…
Reference in New Issue