Prompt on Ansible asa_command module

Hi Experts!

I didn’t find any options for an interactive prompt on “asa_command” module. Similar IOS module “ios_command” does have it.

Can anyone suggest any possible options which can get a prompt with the “asa_command” module? I am trying to run below command which generates a yes/no prompt.

crypto key generate rsa modulus

Best Regards

Hello Experts!

Can anyone suggest any options?

Best Regards
Diptajeet

Hi Experts!

I had solved the problem by creating & using a custom module. It works as expected now.

Best Regards
Diptajeet