I am writing a custom module in python to configure a networking device(switch).If python is installed in the remote node then i can directly execute the script in the remote node and i have written the code accordingly.
I want to know how will i configure a device which doesn’t have python installed.Do i have to pass the parameters to the script through the YAML file and pass the host list which has to be configured also and then connect each host through the written logic in the module and configure the device?
Can someone please help me with the method?Also,if there is a sample script and play-book it will be greatly helpful.
Regards,
Churchill