Unable to set hostnames with their Ip adresses in inventory file

Hi All,
I’m new to ansible. I’am trying to backup juniper routers configurations, i tried the following Yaml Script: