--- - name: Add repo using key from URL 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: 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