diff --git a/defaults/main.yml b/defaults/main.yml index 2d2f010..73f71c6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -16,7 +16,10 @@ nextcloud_version: 26.0.0 nextcloud_uid: '' nextcloud_gid: '' -nextcloud_systemd_required_services_list: ['docker.service'] +nextcloud_systemd_required_services_list: "{{ nextcloud_systemd_required_services_list_default + nextcloud_systemd_required_services_list_auto + nextcloud_systemd_required_services_list_custom }}" +nextcloud_systemd_required_services_list_default: ['docker.service'] +nextcloud_systemd_required_services_list_auto: [] +nextcloud_systemd_required_services_list_custom: [] nextcloud_base_path: "{{ nextcloud_base_path }}/nextcloud" nextcloud_config_path: "{{ nextcloud_base_path }}/config" @@ -160,7 +163,9 @@ nextcloud_container_network: "{{ nextcloud_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. -nextcloud_container_additional_networks: [] +nextcloud_container_additional_networks: "{{ nextcloud_container_additional_networks_auto + nextcloud_container_additional_networks_custom }}" +nextcloud_container_additional_networks_auto: [] +nextcloud_container_additional_networks_custom: [] nextcloud_database_type: postgres nextcloud_database_hostname: ''