Hi Team
nxos_config module where Ansible cannot able to return below highlighted information from device rather it returns the config as changed.
Is this a bug? please help
Manual:
lab.device.local(config)# logging server x.x.x.x 6
Can’t configure more than 8 IP Servers
Through Ansible:
changed: [lab.device.local] => {
“changed”: true,
“commands”: [
“logging server x.x.x.x 6”,
“logging server x.x.x.x 6”
],
“invocation”: {
“module_args”: {
“after”: null,
“auth_pass”: null,
“authorize”: null,
“backup”: false,
“before”: null,
“defaults”: false,
“diff_against”: null,
“diff_ignore_lines”: null,
“force”: false,
“host”: null,
“intended_config”: null,
“lines”: [
“logging server x.x.x.x 6”,
“logging server x.x.x.x 6”
],
“match”: “line”,
“parents”: null,
“password”: null,
“port”: null,
“provider”: null,
“replace”: “line”,
“replace_src”: null,
“running_config”: null,
“save”: false,
“save_when”: “never”,
“src”: null,
“ssh_keyfile”: null,
“timeout”: null,
“transport”: null,
“use_ssl”: null,
“username”: null,
“validate_certs”: null
}
},
“updates”: [
“logging server x.x.x.x 6”,
“logging server x.x.x.x 6”
]
}