Ansible 2.5 with cisco asa_command enable mode

Hi,

Can anyone share how to use the provided asa_command module to get into enable mode with Ansible 2.5 ?

I’m reading this:

https://docs.ansible.com/ansible/devel/modules/asa_command_module.html#asa-command

… and trying many different ways, but no joy.

Regards,

Rick

I’m still learning more about this, but I have found that by using the following on the command line I can get the playbook into enable mode:

ansible-playbook -v -u admin -kK -e ansible_network_os=asa -e ansible_become_method=enable -e ansible_become=True testfw_dir.yml

Playbook or ad-hoc?