rocketchat: Update to 7.3.0

This commit is contained in:
Timo Makinen 2025-02-01 15:17:41 +00:00
parent 07a6e1b124
commit 3328152314
2 changed files with 12 additions and 2 deletions

View file

@ -92,7 +92,7 @@ ocinode:
oci-node02.home.foo.sh: oci-node02.home.foo.sh:
vars: vars:
grafana_version: "11.3.1" grafana_version: "11.3.1"
rocketchat_version: "7.1.0" rocketchat_version: "7.3.0"
roundcube_version: "1.6.9" roundcube_version: "1.6.9"
print: print:
hosts: hosts:

View file

@ -28,13 +28,23 @@
check_mode: false check_mode: false
register: rocketchat_cert_key register: rocketchat_cert_key
- name: Get rocketchat subgid value
ansible.builtin.command:
argv:
- sed
- -n
- 's/^rocketchat:\([0-9]\+\):[0-9]\+$/\1/p'
- /etc/subuid
changed_when: false
register: result
- name: Create combined certificate/private key file - name: Create combined certificate/private key file
ansible.builtin.copy: ansible.builtin.copy:
dest: "{{ tls_private }}/rocketchat.pem" dest: "{{ tls_private }}/rocketchat.pem"
content: "{{ rocketchat_cert_key.stdout }}" content: "{{ rocketchat_cert_key.stdout }}"
mode: "0640" mode: "0640"
owner: root owner: root
group: rocketchat group: "{{ result.stdout | int + 65532 }}"
notify: Restart rocketchat notify: Restart rocketchat
- name: Create service config - name: Create service config