-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cisco.asa.asa_command module not working with backup command #177
Comments
@ginigangadharan Thanks for raising the issue, I wanted to check if you're able to achieve the expected outcome from the cmd: |
Hi @justjais |
@ginigangadharan Thanks for the quick response, I'll triage the issue and update asap |
Thank you @justjais I will wait for your update. |
Hi @justjais, Thank you :D |
@ginigangadharan please excuse me for the delayed response, the entire team was involved in Ansiblefest which got concluded recently. I'll triage the issue and update you ASAP. |
@justjais thank you so much. |
@ginigangadharan I've verified the issue from my end but I am unable to reproduce the said error, please find my config below:
Inventory:
Ansible version:
Play run:
Cisco ASA detail:
Can you run the play appending |
@ginigangadharan were you able to check on this issue? |
@justjais apologies for my delayed response. Thank you for checking this. |
SUMMARY
Since the
cisco.asa.asa_config
module backup is downloading the backup to localmachine, we are using thecisco.asa.asa_command
module and run arbitrary commands to take the backup directly to the TFTP server as follows.But the command fails with below message
ISSUE TYPE
COMPONENT NAME
asa_command
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ansible:
Red Hat Enterprise Linux 8.5.0-3
(Ansible execution environment container image; also tested on different machine with Python virtual environment)
Cisco ASA:
STEPS TO REPRODUCE
Execute the following playbook on one or more Cisco ASA device.
cisco.asa.asa_command:
commands:
- copy /noconfirm running-config tftp://{{ tftp_server }}/{{ backup_filename }}
register: tftp_copy_status
EXPECTED RESULTS
The command executes successfully and the backup file transfer to the TFTP server.
ACTUAL RESULTS
Task fails with following error message
The text was updated successfully, but these errors were encountered: