Re: [ansible-project] Re: Handling Prompt in Cisco IOS_CONFIG module

2021-05-31 Thread Rajthecomputerguy
Yes, ios_config does not support prompting, Can you disable prompting and re-enable once a task is done? On Mon, May 31, 2021 at 4:55 PM R.B. Kumar wrote: > I got the answer from another forum. It is just a workaround only using > cli_command module > > I read ansible 2.7 dont support prompt in

[ansible-project] Re: Handling Prompt in Cisco IOS_CONFIG module

2021-05-31 Thread R.B. Kumar
I got the answer from another forum. It is just a workaround only using cli_command module I read ansible 2.7 dont support prompt in ios_config. We need to user ios_command with loop as below - name: delete_crypto_map cli_command: command: "{{ item }}" prompt: - "Are you sure

[ansible-project] Re: Handling Prompt in Cisco IOS_CONFIG module

2021-05-31 Thread R.B. Kumar
Can anybody have requirement similar to this? I tried with cli_command, ios_command too.. On Monday, May 31, 2021 at 2:15:09 AM UTC+5:30 R.B. Kumar wrote: > Hello All - Using Ansible v2.7 > I am tying to execute Cisco IOS commands that prompts to type Y/N. Looks > like the *Prompt: *is