From c31890a8350761fa37b0e3f9d4de71d59694abde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Chavero?= Date: Tue, 14 May 2024 18:42:06 -0600 Subject: [PATCH] =?UTF-8?q?Cambi=C3=A9=20repo=20de=20collabora=20por=20rep?= =?UTF-8?q?o=20de=20GobMx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ansible/roles/coolwsd/tasks/main.yaml | 62 ++++++++++--------- 1 file changed, 34 insertions(+), 28 deletions(-) diff --git a/nextcloud/ansible/roles/coolwsd/tasks/main.yaml b/nextcloud/ansible/roles/coolwsd/tasks/main.yaml index 7a75f4c..ef57e5b 100644 --- a/nextcloud/ansible/roles/coolwsd/tasks/main.yaml +++ b/nextcloud/ansible/roles/coolwsd/tasks/main.yaml @@ -1,35 +1,41 @@ --- - # tasks file for coolwsd +# tasks file for coolwsd - #TODO: Esta parte hay que sacarla de nuestros propios repos - - name: Import Collabora key - ansible.builtin.rpm_key: - state: present - key: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos8/repodata/repomd.xml.key +- name: Import GobMx key + ansible.builtin.rpm_key: + state: present + key: https://repos.libreoffice.gob.mx/centos/libreoffice.gob.mx.gpg - - name: Add Collabora repository for Red Hat distros - yum_repository: - name: CollaboraOnline - description: Collabora Online - baseurl: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos8 +- name: Install libreoffice.gob.mx CentOS repo + get_url: + url: https://repos.libreoffice.gob.mx/centos/libreoffice.gob.mx.repo + dest: /etc/yum.repos.d/libreoffice.gob.mx.repo + mode: '0644' + owner: root + group: root - - name: Install Collabora Online Packages - package: - name: - - coolwsd - - CODE-brand - state: latest +- name: Add Collabora repository for Red Hat distros + yum_repository: + name: CollaboraOnline + description: Collabora Online + baseurl: https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-centos8 - - name: Copy collabora configuration files - template: - src: templates/coolwsd.xml.j2 - dest: /etc/coolwsd/coolwsd.xml +- name: Install Collabora Online Packages + package: + name: + - coolwsd + state: latest - - name: Enable Libre Office Web services - systemd: - name: coolwsd - enabled: yes - state: restarted - tags: - - nextcloud_collabora +- name: Copy collabora configuration files + template: + src: templates/coolwsd.xml.j2 + dest: /etc/coolwsd/coolwsd.xml + +- name: Enable Libre Office Web services + systemd: + name: coolwsd + enabled: yes + state: restarted + tags: + - nextcloud_collabora