CiscoDevNet / ansible-cisco-cdo

Apache License 2.0
0 stars 1 forks source link

Adding IOS reports device state failed but device is onboarded ok. #18

Closed aaronhackney closed 11 months ago

aaronhackney commented 11 months ago

When onboarding an IOS device, getting: fatal: [Amarillo]: FAILED! => {"changed": false, "failed_when_result": true, "msg": "", "rc": 0, "stderr": "ERROR: Device remains in connectivity state -5", "stderr_lines": [], "stdout": "", "stdout_lines": []}

However, device is successfully onboarded.

There appears to be an issue with the poller waiting for connectivity state.

aaronhackney commented 11 months ago

Playbook exhibiting this behavior was not passing the delay and retry variables from the inventory file. No issue with the modules.