Dear all,
I am geting an error during my playbook running .
i am using ntc-ansible and I want to send command from a text file in a Network for routing configuration
code is like this with ntc ansible
Dear all,
I am geting an error during my playbook running .
i am using ntc-ansible and I want to send command from a text file in a Network for routing configuration
code is like this with ntc ansible
That looks like a bug in a module thats not in ansible/ansible but in https://github.com/networktocode/ntc-ansible/blob/master/library/ntc_config_command.py#L244
(More specifically, like the error references, the ‘output’ var there isn’t defined there. Looks like either a indent/scope issue, or just a missing
default for ‘output’)
Should file an issue for their ntc_config_command module in their issue tracker at their github repo: https://github.com/networktocode/ntc-ansible/issues