mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-11-09 22:40: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:
parent
58eeb6624c
commit
617467efe5
@ -76,12 +76,18 @@
|
|||||||
become: yes
|
become: yes
|
||||||
notify: restart nginx
|
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
|
- name: install custom login background image
|
||||||
copy: dest='{{ redmine_root_dir }}/public/assets/{{ easyredmine_login_bg_img }}'
|
copy: dest='{{ redmine_root_dir }}/public/assets/{{ easyredmine_login_bg_img }}'
|
||||||
src='{{ easyredmine_login_bg_img }}'
|
src='{{ easyredmine_login_bg_img }}'
|
||||||
owner='{{ redmine_owner }}'
|
owner='{{ redmine_owner }}'
|
||||||
become: yes
|
become: yes
|
||||||
notify: restart nginx
|
|
||||||
|
|
||||||
- name: restrict config permissions
|
- name: restrict config permissions
|
||||||
file: path='{{ redmine_root_dir }}/config'
|
file: path='{{ redmine_root_dir }}/config'
|
||||||
|
Loading…
Reference in New Issue
Block a user