Closed vjs-tec closed 1 year ago
Hello @vjs-tec The command being used is a configuration command, I see the need for prompt we may supply the configuration terminal command from the command module itself.
- name: Configure class-map command
hosts: ios
gather_facts: no
connection: network_cli
tasks:
- name: Enter configuration mode
cisco.ios.ios_command:
commands:
- command: "configure terminal"
- command: "class-map type control subscriber match-all DOT1X_FAILED"
prompt: "Do you wish to continue?"
answer: "yes"
Regards
SUMMARY
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect to configure this command in my CSR1000V router "class-map type control subscriber match-all DOT1X_FAILED"
ACTUAL RESULTS