From 411cd7c4b392c279ceaf18e5be7096f1aa1fa37f Mon Sep 17 00:00:00 2001 From: jmdekker2 Date: Mon, 19 May 2025 14:56:41 +0200 Subject: [PATCH] Update install_collabora.yml --- install_collabora.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/install_collabora.yml b/install_collabora.yml index ef349ba..415a9a8 100644 --- a/install_collabora.yml +++ b/install_collabora.yml @@ -1,3 +1,17 @@ +- name: Voeg lokale host toe aan nextcloud groep + hosts: localhost + gather_facts: yes + tasks: + - name: Haal IP-adres op van huidige server + debug: + var: ansible_default_ipv4.address + + - name: Voeg IP-adres toe aan 'nextcloud' groep + add_host: + name: "{{ ansible_default_ipv4.address }}" + groups: collabora + ansible_user: "{{ ansible_user }}" + - name: Installeer en configureer Collabora Online met Nginx, SSL en werkende jail path hosts: collabora become: true @@ -6,6 +20,7 @@ nginx_ssl_cert_path: "/etc/letsencrypt/live/{{ collabora_public_url }}/fullchain.pem" nginx_ssl_key_path: "/etc/letsencrypt/live/{{ collabora_public_url }}/privkey.pem" collabora_jail_path: "/opt/collabora/jails" + ansible_python_interpreter: /usr/bin/python3 tasks: - name: Installeer benodigde pakketten