Add nextcloud to /etc/hosts.

This commit is contained in:
yohan 2024-11-04 20:51:18 +01:00
parent 3a5edf41c7
commit 695c717722

View File

@ -136,6 +136,12 @@
line: "127.0.0.1 cloud.{{ DOMAIN }} cloud" line: "127.0.0.1 cloud.{{ DOMAIN }} cloud"
become: true become: true
- name: Add nextcloud.{{ DOMAIN }} to /etc/hosts
ansible.builtin.lineinfile:
path: "/etc/hosts"
line: "127.0.0.1 nextcloud.{{ DOMAIN }} nextcloud"
become: true
# A local volume is needed to store restore states # A local volume is needed to store restore states
- name: Create /mnt/volumes/restore_states directory if it does not exist - name: Create /mnt/volumes/restore_states directory if it does not exist
ansible.builtin.file: ansible.builtin.file: