Using net_put to scp a file onto an ASA (firepower1010) fails with the error message:
msg: 'Exception received: (''Invalid response from server'', b''Signature Verified\r\n'')'
The image appears to have been sucessully copied to the device and the response 'Signature Verified' as the end of the SCP process is not seen as valid which then breaks the playbook.
I am stuck using Ansible 2.9 due to distributed management of the server and 'list' is not an option. I did a force install to ensure everything was up-to-date
$ ansible-galaxy collection install --force-with-deps cisco.asa
Process install dependency map
Starting collection install process
Installing 'cisco.asa:2.1.0' to '/etc/ansible/collections/ansible_collections/cisco/asa'
Installing 'ansible.netcommon:3.0.0' to '/etc/ansible/collections/ansible_collections/ansible/netcommon'
Installing 'ansible.utils:2.6.1' to '/etc/ansible/collections/ansible_collections/ansible/utils'
Cisco Adaptive Security Appliance Software Version 9.16(2)14
SSP Operating System Version 2.10(1.182)
Device Manager Version 7.16(1)
Compiled on Wed 09-Feb-22 01:55 GMT by builders
System image file is "disk0:/installables/switch/fxos-k8-fp1k-lfbff.2.10.1.182.SPA"
Config file at boot was "startup-config"
SUMMARY
Using net_put to scp a file onto an ASA (firepower1010) fails with the error message:
msg: 'Exception received: (''Invalid response from server'', b''Signature Verified\r\n'')'
The image appears to have been sucessully copied to the device and the response 'Signature Verified' as the end of the SCP process is not seen as valid which then breaks the playbook.
ISSUE TYPE
COMPONENT NAME
net_put
ANSIBLE VERSION
COLLECTION VERSION
I am stuck using Ansible 2.9 due to distributed management of the server and 'list' is not an option. I did a force install to ensure everything was up-to-date
CONFIGURATION
OS / ENVIRONMENT
ASA Version
STEPS TO REPRODUCE
EXPECTED RESULTS
transfer image task should successfully run and return an "OK" response to continue on to the next tax.
ACTUAL RESULTS