Hello,
I am getting below error while using register module with network modules(ios_command & nxos_command).
Can someone help on the issue.
ERROR! Module “register” shadows the name of a reserved keyword. Please rename or remove this module. Found at /opt/rh/python27/root/usr/lib/python2.7/site-packages/setuptools/command/register.py
The problem for whatever reason, is that ansible has been instructed to look in /opt/rh/python27/root/usr/lib/python2.7/site-packages/setuptools/command/ for ansible modules.
It located a file named register.py in that directory, and it is causing issues with ansible.
You may have some misconfiguration that is causing this, and using ansible-config dump --only-changed may reveal the issue.