From 44b1f73157a2e1f7aaae63d96cac5a9f8131e842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 29 Jul 2026 13:11:26 +0200 Subject: [PATCH] Added talk install --- .../setup_talk_with_hpb.yml | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/setup_talk_with_hpb.yml b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/setup_talk_with_hpb.yml index d10b03d..f2eb906 100644 --- a/playbooks/linux/ubuntu-server/nextcloud_full_deployment/setup_talk_with_hpb.yml +++ b/playbooks/linux/ubuntu-server/nextcloud_full_deployment/setup_talk_with_hpb.yml @@ -1,5 +1,5 @@ - name: Temporary workaround for sudo-rs - hosts: nextcloud_talk_hpb + hosts: nextcloud, nextcloud_talk_hpb gather_facts: false become: false tasks: @@ -16,7 +16,7 @@ # PLAY 0 — Bootstrap: install acl BEFORE any become_user is used. # ================================================================ - name: Bootstrap – ensure acl is installed - hosts: nextcloud_talk_hpb + hosts: nextcloud, nextcloud_talk_hpb gather_facts: true become: true @@ -29,4 +29,18 @@ - name: Install acl (required for Ansible become_user on Linux) ansible.builtin.apt: name: acl - state: present \ No newline at end of file + 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' \ No newline at end of file