I have the following:
`
- name: Compress reports
archive:
path: “{{ final_location }}/{{ host }}_reports”
#dest: “{{ final_location }}/{{ host }}_reports.zip”
format: zip
`
It returns this:
`
TASK [LookingGlass : Compress reports] *************************************************************************************************************************
fatal: [3.224.151.99]: FAILED! => {“changed”: false, “msg”: “path /Users/joharmon/Desktop/LookingGlass_Reports_2019-11-14/wargames_reports.zip does not exist”, “path”: “/Users/joharmon/Desktop/LookingGlass_Reports_2019-11-14/wargames_reports.zip”}
fatal: [3.225.174.116]: FAILED! => {“changed”: false, “msg”: “path /Users/joharmon/Desktop/LookingGlass_Reports_2019-11-14/wargames_reports.zip does not exist”, “path”: “/Users/joharmon/Desktop/LookingGlass_Reports_2019-11-14/wargames_reports.zip”}
fatal: [3.220.214.197]: FAILED! => {“changed”: false, “msg”: “path /Users/joharmon/Desktop/LookingGlass_Reports_2019-11-14/wargames_reports.zip does not exist”, “path”: “/Users/joharmon/Desktop/LookingGlass_Reports_2019-11-14/wargames_reports.zip”}
`
Am I using this wrong?? If I declare a dest it also fails: ie
`
dest: “{{ final_location }}/{{ host }}_reports.zip”
`