fix add collabora to apt

add_collabora
Lzebulon 2024-06-30 16:34:31 +02:00
parent 2052873cfa
commit 22b75c4f0e
1 changed files with 14 additions and 17 deletions

View File

@ -10,20 +10,17 @@
# Add the key # Add the key
- name: Configure the apt key - name: Add collabora to apt
apt_key: block:
url: https://www.collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg - name: add gpg key
state: present get_url:
register: apt_key_result url: https://www.collaboraoffice.com/downloads/gpg/collaboraonline-release-keyring.gpg
retries: 3 dest: /etc/apt/keyrings/collabora.gpg
until: apt_key_result is succeeded # Add the repository into source list
- name: Configure collabora repository
apt_repository:
# Add the repository into source list repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/collabora.gpg] https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb {{ansible_distribution_release}} stable"
- name: Configure collabora repository state: present
apt_repository:
repo: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb
state: present
- name: Install Collabora - name: Install Collabora
apt: apt:
@ -31,6 +28,6 @@
name: name:
- coolwsd - coolwsd
- code-brand - code-brand
register: apt_result register: apt_result
retries: 3 retries: 3
until: apt_result is succeeded until: apt_result is succeeded