From 4b05f71e6b8017b8a61d4efa3fab43ea4ac117ab Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 8 Sep 2023 19:03:10 +0300 Subject: [PATCH] Split gitea_container_additional_networks into gitea_container_additional_networks_auto and gitea_container_additional_networks_custom --- defaults/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index c03051b..a8c6dac 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -117,7 +117,11 @@ gitea_container_network: "{{ gitea_identifier }}" # A list of additional container networks that the container would be connected to. # The playbook does not create these networks, so make sure they already exist. -gitea_container_additional_networks: [] +gitea_container_additional_networks: "{{ gitea_container_additional_networks_auto + gitea_container_additional_networks_custom }}" +# gitea_container_additional_networks_auto is reserved for usage by the playbook. +# Your custom networks should go into gitea_container_additional_networks_custom. +gitea_container_additional_networks_auto: [] +gitea_container_additional_networks_custom: [] # Additional environment variables. gitea_environment_variables_additional_variables: ''