forked from ISTI-ansible-roles/ansible-roles
library/roles/redmine/templates/redmine-ldap-sync.cron.j2: the cron frequency is now a variable
d4science-ghn-cluster/inventory/hosts.egi: separate inventory file for the EGI images
This commit is contained in:
parent
fc8d216470
commit
f51ffe7740
|
@ -14,6 +14,8 @@ redmine_db_host: localhost
|
||||||
redmine_inst_dir: redmine
|
redmine_inst_dir: redmine
|
||||||
redmine_user: redmine
|
redmine_user: redmine
|
||||||
redmine_group: redmine
|
redmine_group: redmine
|
||||||
|
# Minutes, from 1 to 60
|
||||||
|
redmine_ldap_sync_freq: 10
|
||||||
|
|
||||||
redmine_glob_user: www-data
|
redmine_glob_user: www-data
|
||||||
redmine_glob_group: www-data
|
redmine_glob_group: www-data
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
*/30 * * * * {{ redmine_user }} rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent redmine:plugins:ldap_sync:sync_users RAILS_ENV=production >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-ldap-sync.log 2>&1
|
*/{{ redmine_ldap_sync_freq }} * * * * {{ redmine_user }} rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent redmine:plugins:ldap_sync:sync_users RAILS_ENV=production >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-ldap-sync.log 2>&1
|
||||||
|
|
Loading…
Reference in New Issue