From 3cdc51e1bfbcf5eb4ef36631846e684a77a548a7 Mon Sep 17 00:00:00 2001 From: jmdekker2 Date: Tue, 20 May 2025 16:02:51 +0200 Subject: [PATCH] Update install_nextcloud_aio.yml --- install_nextcloud_aio.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/install_nextcloud_aio.yml b/install_nextcloud_aio.yml index 83f2c69..83f5c70 100644 --- a/install_nextcloud_aio.yml +++ b/install_nextcloud_aio.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: nextcloud + ansible_user: "{{ user }}" + - name: Installeer Nextcloud AIO achter reverse proxy met Certbot hosts: nextcloud become: true