macos 'date' compatibility
This commit is contained in:
parent
c39d29c03f
commit
fbc2a17011
@ -20,7 +20,7 @@
|
|||||||
- name: Backup Gitea directory
|
- name: Backup Gitea directory
|
||||||
community.general.archive:
|
community.general.archive:
|
||||||
path: /opt/gitea/
|
path: /opt/gitea/
|
||||||
dest: "/var/backups/gitea-{{ gitea.hostname }}.{{ gitea.domain }}@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}.tar.gz"
|
dest: "/var/backups/gitea-{{ gitea.hostname }}.{{ gitea.domain }}@{{ lookup('pipe', 'date -u +%Y-%m-%dT%H:%M:%SZ') }}.tar.gz"
|
||||||
force_archive: true
|
force_archive: true
|
||||||
format: gz
|
format: gz
|
||||||
owner: root
|
owner: root
|
||||||
|
Loading…
Reference in New Issue
Block a user