Update install_collabora.yml

This commit is contained in:
jmdekker2
2025-05-19 14:56:41 +02:00
committed by GitHub
parent 4ae5b263e0
commit 411cd7c4b3

View File

@@ -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