ansible-roles/redmine
Andrea Dell'Amico f51ffe7740 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
2015-10-01 13:17:24 +02:00
..
defaults library/roles/redmine/templates/redmine-ldap-sync.cron.j2: the cron frequency is now a variable 2015-10-01 13:17:24 +02:00
files Major refactoring. Moved all the library roles under 'library/roles' and changed all the occurrances inside all the playbooks. 2015-05-28 11:32:57 +02:00
handlers Major refactoring. Moved all the library roles under 'library/roles' and changed all the occurrances inside all the playbooks. 2015-05-28 11:32:57 +02:00
meta library/roles/redmine, library/roles/tomcat-apache-requirements: library -> library/roles. 2015-05-30 17:40:50 +02:00
tasks library/roles/redmine/templates/unicorn-logrotate.j2: add a logrotate rule for the unicorn logs 2015-09-18 18:45:32 +02:00
templates library/roles/redmine/templates/redmine-ldap-sync.cron.j2: the cron frequency is now a variable 2015-10-01 13:17:24 +02:00
README Major refactoring. Moved all the library roles under 'library/roles' and changed all the occurrances inside all the playbooks. 2015-05-28 11:32:57 +02:00

README

Best practices:

- Use a boolean variable for each plugin to decide if it has to be installed or removed.

- Provide a task to remove a plugin



To delete a plugin:

1. Downgrade the database 

   cd /srv/redmine/d4science; bundle exec rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production

2. Remove the plugin from the plugins folder (/srv/redmine/d4science/plugins/plugin_name)

3. Restart unicorn (or web server)