I tried to create lag interfaces but i got an error.
FAILED! => {"changed": false, "module_stderr": "'NoneType' object is not iterable", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"}
I round the reason for this bug. That happened because i created port-channel without any child interfaces. I manually added one ethernet interface to port-channel and problem had gone.
SUMMARY
I tried to create lag interfaces but i got an error.
FAILED! => {"changed": false, "module_stderr": "'NoneType' object is not iterable", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"}
I round the reason for this bug. That happened because i created port-channel without any child interfaces. I manually added one ethernet interface to port-channel and problem had gone.
ISSUE TYPE
COMPONENT NAME
cisco.nxos.nxos_lag_interfaces
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 20.04
STEPS TO REPRODUCE
variables:
role:
EXPECTED RESULTS
Interfaces should be added to port-channel
ACTUAL RESULTS