Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove run_once when download restic binary
The task is executed only on the first host when the roles runs in multiple hosts. Removing run_once should fix this issue. ``` TASK [hadret.restic : ensure restic installation directory exist] *********************************************************** ok: [vm1.local] ok: [vm2.local] TASK [hadret.restic : download restic binary] ******************************************************************************* ok: [vm1.local] TASK [hadret.restic : decompress restic binary] ***************************************************************************** ok: [vm1.local] fatal: [vm2.local]: FAILED! => {"changed": true, "cmd": "bzip2 -dc /tmp/restic_0.9.5_linux_amd64.bz2 > /tmp/restic_0.9.5_amd64", "delta": "0:00:00.008050", "end": "2019-10-23 10:45:41.240274", "msg": "non-zero return code", "rc": 1, "start": "2019-10-23 10:45:41.232224", "stderr": "bzip2: Can't open input file /tmp/restic_0.9.5_linux_amd64.bz2: No such file or directory.", "stderr_lines": ["bzip2: Can't open input file /tmp/restic_0.9.5_linux_amd64.bz2: No such file or directory."], "stdout": "", "stdout_lines": []} TASK [hadret.restic : copy restic binary] *********************************************************************************** ok: [vm1.local] ```
- Loading branch information