ansible-roles/library/roles/redmine
Andrea Dell'Amico 6301321e16 Add support for imap email support to the redmine role. 2019-10-15 15:47:52 +02:00
..
defaults Add support for imap email support to the redmine role. 2019-10-15 15:47:52 +02:00
files split library/roles 2019-05-15 00:37:24 +02:00
handlers split library/roles 2019-05-15 00:37:24 +02:00
meta split library/roles 2019-05-15 00:37:24 +02:00
tasks Add support for imap email support to the redmine role. 2019-10-15 15:47:52 +02:00
templates Add support for imap email support to the redmine role. 2019-10-15 15:47:52 +02:00
README split library/roles 2019-05-15 00:37:24 +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)