Questions tagged [nx-os]

1 questions
1
vote
1 answer

Ansible assert match string from output

I have a playbook to retrieve show version output from a Cisco NX-OS switch and using assert_module. I want to match a string "NXOS: version 9.3(6)" in the output. If succeeds, then print success message, or else fail message. With the below scripts…
har83
  • 33
  • 1
  • 8