The memcache storage requires 'dalli'

This commit is contained in:
Andrea Dell'Amico 2021-07-12 15:56:08 +02:00
parent fed1934fd8
commit 00029d79e4
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 10 additions and 2 deletions

View File

@ -153,9 +153,13 @@
apt: pkg=libxslt1-dev state=present cache_valid_time=1800
- name: Add unicorn to the redmine Gemfile
copy: dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Gemfile.local content='gem "unicorn"\n' owner={{ redmine_user }} group={{ redmine_group }}
template:
src: Gemfile.local.j2
dest: '{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Gemfile.local'
owner: '{{ redmine_user }}'
group: '{{ redmine_group }}'
when: ruby_use_unicorn
tags: [ 'redmine', 'unicorn' ]
tags: [ 'redmine', 'unicorn', 'redmine_additional_gems' ]
- name: Upgrade rake to fix all the gems mess
shell: cd {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}; bundle update rake

View File

@ -0,0 +1,4 @@
gem "unicorn"
{% if redmine_memcached %}
gem "dalli"
{% endif %}