mirror of https://github.com/ansible/ansible.git
-Fixes JSON parsing(use JSON object instead of string) for facts modules. (#31818)
parent
2765ee4b9a
commit
465fe5802b
@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><rpc-reply message-id="urn:uuid:72c481b8">
|
||||
{
|
||||
"configuration" : [
|
||||
{
|
||||
"system" : [
|
||||
{
|
||||
"host-name" : [
|
||||
{
|
||||
"data" : "vsrx01"
|
||||
}
|
||||
],
|
||||
"domain-name" : [
|
||||
{
|
||||
"data" : "junos.com"
|
||||
}
|
||||
],
|
||||
"name-server" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "172.26.1.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "8.8.8.8"
|
||||
}
|
||||
}
|
||||
],
|
||||
"services" : [
|
||||
{
|
||||
"ssh" : [
|
||||
{
|
||||
}
|
||||
],
|
||||
"telnet" : [
|
||||
{
|
||||
}
|
||||
],
|
||||
"netconf" : [
|
||||
{
|
||||
"ssh" : [
|
||||
{
|
||||
"port" : [
|
||||
{
|
||||
"data" : "830"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"traceoptions" : [
|
||||
{
|
||||
"file" : [
|
||||
{
|
||||
"filename" : [
|
||||
{
|
||||
"data" : "netconf-ops.log"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"flag" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "all"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"web-management" : [
|
||||
{
|
||||
"http" : [
|
||||
{
|
||||
"interface" : [
|
||||
{
|
||||
"data" : "fxp0.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"syslog" : [
|
||||
{
|
||||
"user" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "*"
|
||||
},
|
||||
"contents" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "any"
|
||||
},
|
||||
"emergency" : [
|
||||
{
|
||||
"data" : null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"file" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "messages"
|
||||
},
|
||||
"contents" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "any"
|
||||
},
|
||||
"any" : [
|
||||
{
|
||||
"data" : null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "authorization"
|
||||
},
|
||||
"info" : [
|
||||
{
|
||||
"data" : null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "interactive-commands"
|
||||
},
|
||||
"contents" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "interactive-commands"
|
||||
},
|
||||
"any" : [
|
||||
{
|
||||
"data" : null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "test1"
|
||||
},
|
||||
"contents" : [
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"data" : "any"
|
||||
},
|
||||
"any" : [
|
||||
{
|
||||
"data" : null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
</rpc-reply>
|
Loading…
Reference in New Issue