ansible-roles/redmine
Andrea Dell'Amico c1c59a9c7b library/roles/redmine: Ansible 2 compatibility. 2016-04-04 18:00:36 +02:00
..
defaults
files
handlers
meta
tasks library/roles/redmine: Ansible 2 compatibility. 2016-04-04 18:00:36 +02:00
templates
README

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)