summaryrefslogtreecommitdiff
path: root/roles/apps/collabora/code/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-08-25 22:26:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-08-25 22:26:43 +0200
commita756e7785f1118b04a2f4c7c182dec8740e9ef5d (patch)
tree0624df03a5445ab7a243640664e057f5c1bfc9a0 /roles/apps/collabora/code/tasks/main.yml
parentnextcloud: fix some migration issues (diff)
collabora/code: remove legacy file naming (lool vs cool)
Diffstat (limited to 'roles/apps/collabora/code/tasks/main.yml')
-rw-r--r--roles/apps/collabora/code/tasks/main.yml14
1 files changed, 3 insertions, 11 deletions
diff --git a/roles/apps/collabora/code/tasks/main.yml b/roles/apps/collabora/code/tasks/main.yml
index 84efec5c..19f9b816 100644
--- a/roles/apps/collabora/code/tasks/main.yml
+++ b/roles/apps/collabora/code/tasks/main.yml
@@ -11,16 +11,8 @@
loop_control:
label: "{{ item.key }}"
template:
- src: "config/{{ item.value.version | collabora_code_loolvcool | ternary('lool', 'cool') }}wsd.{{ item.value.version }}.xml.j2"
- dest: "{{ collabora_code_base_path }}/{{ item.key }}/config/{{ item.value.version | collabora_code_loolvcool | ternary('lool', 'cool') }}wsd.xml"
-
-- name: remove legacy configuration file
- loop: "{{ collabora_code_instances | dict2items }}"
- loop_control:
- label: "{{ item.key }}"
- file:
- path: "{{ collabora_code_base_path }}/{{ item.key }}/config/{{ item.value.version | collabora_code_loolvcool | ternary('cool', 'lool') }}wsd.xml"
- state: absent
+ src: "config/coolwsd.{{ item.value.version }}.xml.j2"
+ dest: "{{ collabora_code_base_path }}/{{ item.key }}/config/coolwsd.xml"
- name: build custom image
loop: "{{ collabora_code_instances | dict2items }}"
@@ -39,7 +31,7 @@
spec: "{{ lookup('template', 'pod-spec.yml.j2') }}"
mode: "0600"
config_hash_items:
- - path: "{{ collabora_code_base_path }}/{{ item.key }}/config/{{ item.value.version | collabora_code_loolvcool | ternary('lool', 'cool') }}wsd.xml"
+ - path: "{{ collabora_code_base_path }}/{{ item.key }}/config/coolwsd.xml"
properties:
- checksum
include_role: