Added talk install

This commit is contained in:
Ebbe Baß
2026-07-29 13:11:26 +02:00
parent 4454669c22
commit 44b1f73157
@@ -1,5 +1,5 @@
- name: Temporary workaround for sudo-rs - name: Temporary workaround for sudo-rs
hosts: nextcloud_talk_hpb hosts: nextcloud, nextcloud_talk_hpb
gather_facts: false gather_facts: false
become: false become: false
tasks: tasks:
@@ -16,7 +16,7 @@
# PLAY 0 — Bootstrap: install acl BEFORE any become_user is used. # PLAY 0 — Bootstrap: install acl BEFORE any become_user is used.
# ================================================================ # ================================================================
- name: Bootstrap ensure acl is installed - name: Bootstrap ensure acl is installed
hosts: nextcloud_talk_hpb hosts: nextcloud, nextcloud_talk_hpb
gather_facts: true gather_facts: true
become: true become: true
@@ -29,4 +29,18 @@
- name: Install acl (required for Ansible become_user on Linux) - name: Install acl (required for Ansible become_user on Linux)
ansible.builtin.apt: ansible.builtin.apt:
name: acl name: acl
state: present state: present
# ================================================================
# PLAY 1 — Nextcloud: Install Talk app
# ================================================================
- name: Nextcloud Install Talk app
hosts: nextcloud
gather_facts: true
become: true
tasks:
- name: Install Talk app
ansible.builtin.shell: |
su -s /bin/bash www-data -c \
'php {{ nextcloud_install_dir }}/occ app:install talk'