You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

38 lines
962 B

---
- name: Import signing key
get_url:
url: https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
dest: /usr/share/keyrings
- name: Add CODE package repository
template:
src: collaboraonline.sources
dest: /etc/apt/sources.list.d/
- name: Install packages
apt:
name: "{{ collabora_packages }}"
state: present
update_cache: yes
- name: Copy configuration and restart nginx
template:
src: coolwsd.j2
dest: /etc/nginx/sites-enabled/coolwsd
notify: Restart nginx
- name: Copy Collobora config file.
template:
src: coolwsd.xml.j2
dest: /etc/coolwsd/coolwsd.xml
- name: Install collabora app for nextcloud
shell: occ app:install "{{ item }}"
with_items:
- "{{ collabora_nc_apps }}"
- name: Configure app using occ
shell: "{{ item }}"
with_items:
- occ config:app:set --value "{{ collabora_server }}" richdocuments wopi_url
- occ richdocuments:activate-config