diff --git a/ansible/roles/junos-switch/templates/junos-config-set.j2 b/ansible/roles/junos-switch/templates/junos-config-set.j2 index d68d4d47c..cfb687bbb 100644 --- a/ansible/roles/junos-switch/templates/junos-config-set.j2 +++ b/ansible/roles/junos-switch/templates/junos-config-set.j2 @@ -6,7 +6,7 @@ {% for interface, config in junos_switch_interface_config.items() %} {% if config.description is defined %} -set interfaces {{ interface }} description "{{ config.description }}"; +set interfaces {{ interface }} description "{{ config.description }}" {% endif %} {% for line in config.config %} {% if line.startswith('set') %}