Interview Prep/Ansible/AWX, Cloud and Large-Scale Operations

You need to run a playbook against devices that only support SSH CLI, such as switches.

IntermediateScenarioAWX, Cloud and Large-Scale Operations
Answer

Situation read → Network automation.

What I'd do → Use ansible_connection: ansible.netcommon.network_cli, ansible_network_os, and platform collections.

ansible_connection: ansible.netcommon.network_cli
ansible_network_os: cisco.ios.ios
ansible_become: true
ansible_become_method: enable

Use resource modules (for example cisco.ios.ios_vlans) for idempotent config.

Why → Network modules run on the controller, not the device.

Interview tip → Use state: gathered and rendered for audit workflows.

All Ansible questions Roadmap: Ansible

More on AWX, Cloud and Large-Scale Operations