Juniper
JN0-420 · Question #47
A customer has a control machine with a default Ansible installation. During execution of an Ansible module, the Ansible control machine generates the no hosts matched error. Which statement is…
The correct answer is D. The target device was not defined in /etc/ansible/hosts on the control machine. See the full explanation below for the reasoning.
Question
A customer has a control machine with a default Ansible installation. During execution of an Ansible module, the Ansible control machine generates the no hosts matched error. Which statement is correct in this scenario?
Options
- AThe target device was not defined in /etc/ansible/inventory/hosts on the control machine
- BThe target device was not defined on the associated DNS servers
- CThe target device was not defined in /etc/hosts on the control machine
- DThe target device was not defined in /etc/ansible/hosts on the control machine
How the community answered
(27 responses)- A4% (1)
- B11% (3)
- C7% (2)
- D78% (21)
Community Discussion
No community discussion yet for this question.