diff --git a/handlers/backup.yaml b/handlers/backup.yaml index 83dd9d0..fc68ccf 100644 --- a/handlers/backup.yaml +++ b/handlers/backup.yaml @@ -18,7 +18,7 @@ when: docker_compose_stat.stat.exists is defined and docker_compose_stat.stat.exists - name: Backup Gitea Directory - ansible.builtin.synchronize: + ansible.posix.synchronize: src: /opt/gitea/ dest: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}" recursive: true