From dbb6fe15ce2a41029fb7f7a4b22c7fe33cfd9688 Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Tue, 26 Nov 2024 20:19:20 +0100 Subject: [PATCH] chore(server): support setting /etc/hosts in container --- roles/server/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml index 28657db..f9b3241 100644 --- a/roles/server/tasks/main.yml +++ b/roles/server/tasks/main.yml @@ -118,6 +118,7 @@ volumes: "{{ nextcloud_container_volumes }}" labels: "{{ nextcloud_container_labels }}" env: "{{ nextcloud_container_env }}" + etc_hosts: "{{ nextcloud_container_etc_hosts | default(omit, true) }}" networks: "{{ nextcloud_container_networks | default(omit, true) }}" purge_networks: "{{ nextcloud_container_purge_other_networks }}" restart_policy: "{{ nextcloud_container_restart_policy }}"