[FIX] don't use ansible_date_time as it might be cached
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 12s
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 12s
This commit is contained in:
parent
d64c96576c
commit
b52f8767f6
@ -50,7 +50,7 @@
|
|||||||
- name: Backup Gitea Directory
|
- name: Backup Gitea Directory
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: /opt/gitea/
|
src: /opt/gitea/
|
||||||
dest: "/opt/gitea.backup@{{ ansible_date_time.iso8601 }}"
|
dest: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}"
|
||||||
mode: "700"
|
mode: "700"
|
||||||
remote_src: true
|
remote_src: true
|
||||||
directory_mode: true
|
directory_mode: true
|
||||||
|
Loading…
Reference in New Issue
Block a user