diff --git a/roles/adoption_osp_deploy/templates/adoption_vars.yaml.j2 b/roles/adoption_osp_deploy/templates/adoption_vars.yaml.j2 index decc78cf08..1bf61a7aad 100644 --- a/roles/adoption_osp_deploy/templates/adoption_vars.yaml.j2 +++ b/roles/adoption_osp_deploy/templates/adoption_vars.yaml.j2 @@ -9,7 +9,7 @@ edpm_computes: | ["{{ compute }}.{{ cifmw_adoption_osp_deploy_scenario.cloud_domain }}"]="{{ node_nets.networks.ctlplane.ip_v4 }}" {% endfor %} edpm_networkers: | - {% for networker in _vm_groups['osp-networkers'] %} + {% for networker in _vm_groups['osp-networkers'] | default([]) %} {% set node_nets = cifmw_networking_env_definition.instances[networker] %} ["{{ networker }}.{{ cifmw_adoption_osp_deploy_scenario.cloud_domain }}"]="{{ node_nets.networks.ctlplane.ip_v4 }}" {% endfor %}