Hello All
I am doing Day One Automation with Ansible I am following the guide but i keep getting the below error even when i copy/past the playbook any idea behind this, considering the communication between the server and the router is fine and I have test the NETCONF/SSH its working fine also I have done the Day One Automation with Salt it was also working fine.
ansible-playbook uptimerpc2.yaml
Junos Username:
Junos Password:
PLAY [Get device uptime] ********************************************************************************************************************************
TASK [get uptime using galaxy module] *******************************************************************************************************************
fatal: [vmx-1]: FAILED! => {"changed": false, "msg": "Unable to make a PyEZ connection: ConnectError(host: 192.168.10.50, msg: Raw)"}fatal: [vmx-2]: FAILED! => {"changed": false, "msg": "Unable to make a PyEZ connection: ConnectError(host: 192.168.10.51, msg: Raw)"}PLAY RECAP **********************************************************************************************************************************************
vmx-1 : ok=0 changed=0 unreachable=0
failed=1 skipped=0 rescued=0 ignored=0
vmx-2 : ok=0 changed=0 unreachable=0
failed=1 skipped=0 rescued=0 ignored=0
------------------------------
Hasan Abdulhadi
------------------------------