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 }}"