---
-- name: install server specific packages
+- name: Add repo using key from URL
+ ansible.builtin.deb822_repository:
+ name: collaboraonline
+ types: deb
+ uris: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb
+ suites: ./
+ signed_by: https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
+- name: Install server specific packages
ansible.builtin.apt:
+ update_cache: yes
pkg:
- - htop
-
+ - coolwsd
+ - code-brand
+#- name: Insert lines with external Nextcloud-IPs
+# ansible.builtin.blockinfile:
+# dest: /etc/coolwsd/coolwsd.xml
+# insertbefore: "</post_allow>"
+# block: |
+# <host desc={{ fsit_smgt_collabora_post_allow }}</host>
+# backup: yes
+# notify:
+# - Restart coolwsd service
+- name: Temporary copy config file
+ ansible.builtin.copy:
+ src: collabora_coolwsd.xml
+ dest: /etc/coolwsd/coolwsd.xml
+ backup: yes
+ notify:
+ - Restart coolwsd service