Question 1
An e-commerce security engineering unit is working on rapid ACL remediation with prevalidation gates. During deployment, Ansible reports no matched devices for the target play despite a healthy SSH bastion. Which action most directly addresses this specific network automation problem?
Explanation
Correct Answer
The observed failure is: Ansible reports no matched devices for the target play despite a healthy SSH bastion. The underlying cause is: the inventory host pattern differs from the requested device group. Verify that the play targets exactly the approved group in an inventory listing and dry run.
Incorrect Answers
This would address a different condition: secrets appear in the CI task log after an Ansible authentication failure. Here, the actual issue is: the inventory host pattern differs from the requested device group; it needs a scoped correction rather than this unrelated intervention.
This would address a different condition: a Cisco switch rejects a generated VLAN name containing a trailing newline. Here, the actual issue is: the inventory host pattern differs from the requested device group; it needs a scoped correction rather than this unrelated intervention.
This would address a different condition: the ACL deployment succeeds on test devices but fails when inventory includes a second OS family. Here, the actual issue is: the inventory host pattern differs from the requested device group; it needs a scoped correction rather than this unrelated intervention.