ansible-roles/redmine
Andrea Dell'Amico 2748d5cc25 Add a task to install the omnioauth plugin and install ruby 2.3 from a PPA on Ubuntu Trusty. 2019-04-03 20:05:36 +02:00
..
defaults Add a task to install the omnioauth plugin and install ruby 2.3 from a PPA on Ubuntu Trusty. 2019-04-03 20:05:36 +02:00
files redmine: set the secret token, configure the log level. 2017-09-27 20:46:33 +02:00
handlers Fix the redmine tasks that initialize the system so that they are executed correctly after a retry. 2019-02-18 17:37:51 +01:00
meta redmine: adapt the playbook to the newest redmine version and to Ubuntu 18.04. Add a systemd unit for unicorn. Support nginx. 2019-02-17 13:53:08 +01:00
tasks Add a task to install the omnioauth plugin and install ruby 2.3 from a PPA on Ubuntu Trusty. 2019-04-03 20:05:36 +02:00
templates redmine: adapt the playbook to the newest redmine version and to Ubuntu 18.04. Add a systemd unit for unicorn. Support nginx. 2019-02-17 13:53:08 +01: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)