Ansible Network, junos_command.

Hi,
I’m trying to get a playbook to connect to a juniper switch and do a ‘show version’
I’m totally new to this and wanted to do this without the use of yaml files for username and password.
This is the code for the playbook:

Is netconf enabled under “system services”?

Hi,
From what I understood netconf is not needed for this module, but yes it is enabled from when i tried using junipers own-developed role from ansible-galaxy.
I don’t want to use netconf as most vendors don’t have it.

might there be an application firewall between you and the switch that allows openssh, but not paramiko?

I will check it out tomorrow thanks!