fix(element): change folder name to match artifact

During the renaming of Riot to Element, the path for the webapp changed
from /opt/riot to /opt/element. In those folders, the archives are
unpacked, resulting in paths like /opt/element/riot-v${version}. Since
the archives are not yet renamed
(https://github.com/vector-im/element-web/issues/14896), this riot
reference has to stay for now. In the renaming, this was accidentally
changed prematurely, resulting in this regression.
This commit is contained in:
Jan Christian Grünhage 2020-08-12 18:37:44 +02:00
parent 0f38043448
commit a76ebb1fad

View file

@ -22,14 +22,14 @@
- name: Link main configuration
file:
src: "{{ element_webapp_dir }}/config.json"
dest: "{{ element_webapp_dir }}/element-v{{ element_version }}/config.json"
dest: "{{ element_webapp_dir }}/riot-v{{ element_version }}/config.json"
state: link
when: element_deployment_method == "webroot"
- name: Link domain specific configurations
file:
src: "{{ element_webapp_dir }}/config.{{ item.domain }}.json"
dest: "{{ element_webapp_dir }}/element-v{{ element_version }}/config.{{ item.domain }}.json"
dest: "{{ element_webapp_dir }}/riot-v{{ element_version }}/config.{{ item.domain }}.json"
state: link
loop: "{{ element_domain_configs }}"
when: element_deployment_method == "webroot"