I have installed Ansible Tower on RHEL 8 and trying to do a check for a particular piece of configuration on a Juniper vsrx device but get this error message …
“msg”: “Could not open socket to perimeter-firewall:830”,
“_ansible_no_log”: false
I have enabled netconf on the juniper vsrx and connect from the ansible host using this command
ssh root@ < ip address > -p 830 -s netconf which gives me this output …
<hello xmlns=“urn:ietfarams:xml:ns:netconf:base:1.0”>
urn:ietfarams:netconf:base:1.0
urn:ietfarams:netconf:capability:candidate:1.0
urn:ietfarams:netconf:capability:confirmed-commit:1.0
urn:ietfarams:netconf:capability:validate:1.0
urn:ietfarams:netconf:capability:url:1.0?scheme=http,ftp,file
urn:ietfarams:xml:ns:netconf:base:1.0
urn:ietfarams:xml:ns:netconf:capability:candidate:1.0
urn:ietfarams:xml:ns:netconf:capability:confirmed-commit:1.0
urn:ietfarams:xml:ns:netconf:capability:validate:1.0
urn:ietfarams:xml:ns:netconf:capability:url:1.0?protocol=http,ftp,file
urn:ietfarams:xml:ns:yang:ietf-netconf-monitoring
http://xml.juniper.net/netconf/junos/1.0</capability>
http://xml.juniper.net/dmi/system/1.0</capability>
8373
]]>]]>
Is there anything that I need to do ?