- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-22-2019 11:32 AM
Hi All,
This is another issue I am encounting with PANOS Ansible's module. This time when using "PANOS_OP" into Panorama to add a static address into a group. This is the error I am getting when executing "cmd: set device-group MYCLOUD address-group MYCLOUD-GRP-1 static SMTP-10.10.20.30" in playbook:
fatal: [10.10.10.10]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"cmd": "set device-group MYCLOUD address-group MYCLOUD-GRP-1 static SMTP-10.10.20.30",
"cmd_is_xml": false,
"ip_address": "10.10.10.10",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"username": "pan_ansible"
}
}
}
MSG:
Failed to run command : set device-group MYCLOUD address-group MYCLOUD-GRP-1 static "CLOUD-10.10.20.30" : set -> device-group is unexpected
Let me know what is the solution to add more IP addresses to an Address group.
Thanks,
Roberto
My playbook is pretty simple; however, I am unable to find the error.
Thanks,
Roberto