diff --git a/tasks/main.yaml b/tasks/main.yaml index a5860f0..9298d49 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -50,7 +50,7 @@ - name: Backup Gitea Directory ansible.builtin.copy: src: /opt/gitea/ - dest: "/opt/gitea.backup@{{ ansible_date_time.iso8601 }}" + dest: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}" mode: "700" remote_src: true directory_mode: true