diff --git a/tasks/backup.yml b/tasks/backup.yml index 59c1c00..cd9eb53 100644 --- a/tasks/backup.yml +++ b/tasks/backup.yml @@ -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 diff --git a/tasks/installer.yml b/tasks/installer.yml index b0d313f..a3e7bb0 100644 --- a/tasks/installer.yml +++ b/tasks/installer.yml @@ -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