EVE-NG Linux VM SSH troubleshooting
September 20, 2025
Managing CLI prompts with Ansible
Some commands, before becoming operational, ask for confirmation from the operator. Ansible has a basic capability to handle these situation
Some commands, before becoming operational, ask for confirmation from the operator. Ansible has a basic capability to handle these situations thanks to the cli_command and ios_command modules. The first one is generic, the second one is specific to Cisco IOS systems, but both essentially perform the same function with some peculiarities and limitations. In general, vendor-specific modules should handle syntax errors correctly, but as we will see later, this is not always true.
Let’s see some examples based on the “Simple Network Lab” laboratory.
Resetting Interface Counters
The first example we see concerns resetting interface counters. The command requires a simple confirmation:
Continue reading the post on Patreon .