CiscoDevNet / ansible-nd

Cisco ND Ansible Collection
https://galaxy.ansible.com/cisco/nd
GNU General Public License v3.0
4 stars 15 forks source link

ND tasks does not run without certain parameters in the task #3

Closed anvitha-jain closed 3 years ago

anvitha-jain commented 3 years ago

tasks:

The above task does not work and gives error. ERROR: fatal: [test]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "current": {}, "msg": "Unable to parse error output as JSON. Raw error message: 'NoneType' object is not subscriptable"}

But using these below parameters in above task works. host: "{{mso_hostname}}" username: "{{mso_user}}" password: "{{mso_ssh_pass}}" validate_certs: false

Example: