Question 9
A customer has a control machine with a default Ansible installation. During execution of an Ansible module against a Junos device, the Ansible control machine generates the
msg: unable to connect to router1.example.com: ConnectRefusedError (router1.example.com) error.
What is the cause for this error?
router1.example.com was not defined in /etc/hosts on the control machine
Ansible cannot connect to the device through NETCONF
router1.example.com was not defined in /etc/ansible/inventory/hosts on the control machine
Ansible cannot authenticate to the device
Correct answer: B
Explanation:
Reference: https://www.juniper.net/documentation/en_US/junos-ansible1.0/information-products/pathway-pages/junos-ansible.pdf
Reference: https://www.juniper.net/documentation/en_US/junos-ansible1.0/information-products/pathway-pages/junos-ansible.pdf