Update install_nextcloud_aio.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user