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.
46 lines
887 B
46 lines
887 B
2 years ago
|
- name: download signing key
|
||
|
get_url:
|
||
|
dest: /usr/share/keyrings/collaboraonline-release-keyring.gpg
|
||
|
url: https://collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
|
||
|
force: yes
|
||
|
|
||
|
|
||
|
- name: add repo source
|
||
|
template:
|
||
|
src: collaboraonline_sources.j2
|
||
|
dest: /etc/apt/sources.list.d/collaboraonline.sources
|
||
|
force: yes
|
||
|
|
||
|
|
||
|
- name: install collabora
|
||
|
apt:
|
||
|
name:
|
||
|
- coolwsd
|
||
|
- code-brand
|
||
|
- collaboraoffice*-ru
|
||
|
- collaboraoffice-dict-ru
|
||
|
update_cache: yes
|
||
|
|
||
|
|
||
|
- name: template collabora config
|
||
|
template:
|
||
|
src: coolwsd.j2
|
||
|
dest: /etc/coolwsd/coolwsd.xml
|
||
|
force: yes
|
||
|
mode: 0640
|
||
|
owner: cool
|
||
|
group: cool
|
||
|
notify: restart coolwsd
|
||
|
|
||
|
|
||
|
- name: enable and start service
|
||
|
service:
|
||
|
name: coolwsd
|
||
|
state: started
|
||
|
enabled: yes
|
||
|
|
||
|
|
||
|
- name: set officeonline presence fact
|
||
|
set_fact:
|
||
|
has_officeonline: yes
|