2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Install the phusion passenger repo key
|
|
|
|
apt_key: id=561F9B9CAC40B2F7 keyserver=keyserver.ubuntu.com state=present
|
|
|
|
register: update_apt_cache
|
|
|
|
when: ruby_use_mod_passenger
|
2016-04-04 18:00:36 +02:00
|
|
|
tags: [ 'ruby', 'redmine', 'passenger' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Install the phusion passenger repo
|
2016-04-04 18:00:36 +02:00
|
|
|
apt_repository: repo='deb https://oss-binaries.phusionpassenger.com/apt/passenger {{ ansible_distribution_release }} main' state=present update_cache=yes
|
2015-05-28 11:32:57 +02:00
|
|
|
when: ruby_use_mod_passenger
|
2016-04-04 18:00:36 +02:00
|
|
|
tags: [ 'ruby', 'redmine', 'passenger' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Install the apache mod_passenger package
|
|
|
|
apt: pkg=libapache2-mod-passenger state=present
|
|
|
|
when: ruby_use_mod_passenger
|
|
|
|
notify: apache2 reload
|
2016-04-04 18:00:36 +02:00
|
|
|
tags: [ 'ruby', 'redmine', 'passenger' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Install the mod-passenger configuration
|
|
|
|
apache2_module: name=passenger state=present
|
|
|
|
when: ruby_use_mod_passenger
|
|
|
|
notify: apache2 reload
|
2016-04-04 18:00:36 +02:00
|
|
|
tags: [ 'ruby', 'redmine', 'passenger' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|