1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-12-16 07:20:36 +00:00

ensure public/assets is present before installing background image - the dir will not exist in older versions of ER (and background image is not used)

This commit is contained in:
Mark Heiges 2016-08-25 10:40:09 -04:00
parent 58eeb6624c
commit 617467efe5

View File

@ -76,12 +76,18 @@
become: yes
notify: restart nginx
- name: create public/assets dir
file: path='{{ redmine_root_dir }}/public/assets'
state=directory
owner='{{ redmine_owner }}'
mode=0755
become: yes
- name: install custom login background image
copy: dest='{{ redmine_root_dir }}/public/assets/{{ easyredmine_login_bg_img }}'
src='{{ easyredmine_login_bg_img }}'
owner='{{ redmine_owner }}'
become: yes
notify: restart nginx
- name: restrict config permissions
file: path='{{ redmine_root_dir }}/config'