I was trying to get ansible for Junos router. While I execute the following code I get the following error:
"An exception occurred during task execution. To see the full traceback, use -vvv. The error was: UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start by"
I tired to enable netconf on end device but still no luck. I couldn't use any galaxy modules as we have that...
Am i missing something?
Thanks
hosts: 10.1.1.1
gather_facts: true
connection: local
tasks:
- name: show version
junos_command:
commands:
- show version
host: "{{ ansible_host }}"
register: output