Tasks Update

This commit is contained in:
Christer Warén 2024-12-23 18:59:15 +02:00
parent c5a7a0cc98
commit fb7d20fea3
2 changed files with 2 additions and 4 deletions

View File

@ -8,8 +8,6 @@
community.general.archive:
path:
- "~/data/minecraft"
exclusion_patterns:
- "plugins/dynmap/web/tiles/*"
dest: "~/data/backups/minecraft-{{ ansible_facts.date_time.date + '-' + ansible_facts.date_time.hour + '-' + ansible_facts.date_time.minute + '-' + ansible_facts.date_time.second }}.zip"
format: zip

View File

@ -123,8 +123,8 @@
- name: "Installer : Schedule : Backup"
ansible.builtin.cron:
name: "Matte - Infra - Backup"
hour: "4"
minute: "0"
hour: "3"
minute: "30"
job: "~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml tasks.yml -t backup"
tags:
- cron