Hi Team
“through ansible” isn’t a playbook/task.
Provide the playbook and the invocation of it.
Hello,
This seems to happen because the stderr regex in the NX-OS terminal plugin doesn’t catch “Can’t configure more than 8 IP Servers”. However, starting with Ansible 2.9, the stdout and stderr regexes were made configurable options. Please refer to https://docs.ansible.com/ansible/latest/network/user_guide/network_debug_troubleshooting.html#task-failure-due-to-mismatched-error-regex-within-command-response-using-network-cli-connection-type for more information.
In this particular case, you can try adding the following to the task:
vars:
ansible_terminal_stderr_re:
- pattern: “can’t configure (.*)”
flags: 're.I
Thanks!