Ansible role to manage Redmine installation


Phusion Passenger is a web application server.

This role configures an Apache Httpd vhost with Passenger, and installs Redmine.
The necessary RDBMS needs to be ready beforehand.
It supports installation on Debian OS family only at the moment because Redmine is not packaged in the RedHat family.

This role also expects to work hand-in hand with the OSAS httpd role (ansible-role-ah-httpd).
You can pass httpd extra parameters to this role and the vhost creation will use them.

Here is a complete example:

- name: Install Redmine
name: redmine
instance: myprojects
use_letsencrypt: True
force_tls: True

Local Repositories

If local_repos_dir is set, the directory for local repositories is created. A script to update
these repositories every hour is also created for this instance. api_key is also needed for the
script to notify Redmine to read the updates.


  • instance: Redmine instance name associated to this vhost
  • database: RDBMS type to use (pgsql/mysql, defaults to pgsql)
  • database_cipher_key: key to encrypt sensive information in the database (recommanded)
  • local_repos_dir: directory containing local repositories
  • api_key: key to use the API
| Branch: | Revision:

ansible-role-redmine @ master

Name Size Revision Age Author Comment
  defaults 76bb8ec1 11 months Marc Dequènes allow choosing RDBMS
  handlers 93d501c2 over 1 year Marc Dequènes (Duck) Add plugins support Allow installing plugins v...
  meta d24f462a 10 months Marc Dequènes (Duck) update for new maintainer
  tasks a51cc37f 3 months Marc Dequènes rewrite plugins_list generation to work on Pyth...
  templates bb19663c 4 months Marc Dequènes care about local repositories
  vars 1f11e7eb over 1 year Marc Dequènes (Duck) add mail configuration 1.35 KB bb19663c 4 months Marc Dequènes care about local repositories

Latest revisions

# Date Author Comment
a51cc37f 2018-12-05 09:43 Marc Dequènes

rewrite plugins_list generation to work on Python3 too

bb19663c 2018-12-03 04:08 Marc Dequènes

care about local repositories

02247a36 2018-11-20 06:41 Marc Dequènes

ensure configuration is created in the right place

d24f462a 2018-06-01 11:13 Marc Dequènes (Duck)

update for new maintainer

adeb14e3 2018-05-09 05:16 Marc Dequènes (Duck)

fix obsolete reference to httpd/duck_work_during_misc_vacation

3892fbfd 2018-05-08 18:44 Marc Dequènes (Duck)

Merge branch 'duckcorp' into 'master'


See merge request osas/ansible-role-redmine!1

f87d694e 2018-05-04 10:07 Marc Dequènes

Ansible 2.5 breaking change on file/follow default

f2c9e148 2018-05-04 08:15 Marc Dequènes

allow specifying a database key

6e195757 2018-05-04 06:22 Marc Dequènes

add check mode support

12c68534 2018-05-04 05:56 Marc Dequènes

package module: use 'present' instead of 'installed'

View all revisions | View revisions

Also available in: Atom