diff --git a/geant/gap_ansible/roles/bc_templates/routers/nokia/general.j2 b/geant/gap_ansible/roles/bc_templates/routers/nokia/general.j2
index 0e7e5aa49e27965da9323c51443b686f19d2493b..1cbe508fef1aff2b5422a6d8c05fadcdb8956337 100644
--- a/geant/gap_ansible/roles/bc_templates/routers/nokia/general.j2
+++ b/geant/gap_ansible/roles/bc_templates/routers/nokia/general.j2
@@ -1,9 +1,9 @@
 {#This template takes care of hostname, motd, location and other general settings#}
-{% set hostname_as_a_list= inventory_hostname.split('.')%}
-{% set short_hostname= hostname_as_a_list[:3] | join('.')%}
+{% set hostname_as_a_list= inventory_hostname.split('.') %}
+{% set short_hostname= hostname_as_a_list[:3] | join('.') %}
   <system xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">
     <contact alu:operation="replace">{{ nokia_system_contact }}</contact>
-    <name alu:operation="replace">{{ short_hostname}}</name>
+    <name alu:operation="replace">{{ short_hostname }}</name>
     <location alu:operation="replace">{{ nokia_snmp_location }}</location>
     <load-balancing alu:operation="replace">
         <l4-load-balancing>true</l4-load-balancing>