I have ansible running on a docker container on my companies air gapped system. I want to push our radius configuration to all of the switches via a playbook however I am having no luck searching this up online.
I found this on a cisco forum but got an error of {“changed”: false, “module_stderr”:
followed by the command I ran. At the end there is an error that reads “MODULE FAILURE: No start of json char found”
Here is the code I ran, but with no variable. I set my radius server IP in the {{“OTHER IP”}} spot and my secret key in the {{“KEY ONE”}}
- name: SET RADUIS
ios_config:
commands:
-radius-server host {{“OTHER IP”}} auth-port 1812 acct-port 1813 key 7 {{“KEY ONE”}}
I do have another task that is executing on the target host switch and it is successful.