We have automated Sophos-AV for linux installation using ansible by referring to https://github.com/quarkslab/irma/tree/master/ansible/roles/quarkslab.sophos
But installation fails with following error:
TASK [antivirus : Sophos | Download installation archive] **********************
task path: /home/megha/vault/lbnew/ansible/roles/antivirus/tasks/install.yml:12
fatal: [default]: FAILED! => {"changed": false, "dest": "/tmp/sophos/sav-linux-free-9.tgz", "failed": true, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "downloads.sophos.com/.../sav-linux-free-9.tgz"}
This is because download link is not static. Each time before installation we have to update download url, which is blocking automation.
Can you please share static link that can be used in ansible playbook/automation?
Thanks,
Megha.
This thread was automatically locked due to age.