--- - 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: - coolwsd - code-brand #- name: Insert lines with external Nextcloud-IPs # ansible.builtin.blockinfile: # dest: /etc/coolwsd/coolwsd.xml # insertbefore: "" # block: | # # 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