mirror of
https://github.com/MatteZ02/infra.git
synced 2025-01-15 11:33:08 +00:00
Tasks Update
This commit is contained in:
parent
c5a7a0cc98
commit
fb7d20fea3
@ -8,8 +8,6 @@
|
|||||||
community.general.archive:
|
community.general.archive:
|
||||||
path:
|
path:
|
||||||
- "~/data/minecraft"
|
- "~/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"
|
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
|
format: zip
|
||||||
|
|
||||||
|
@ -123,8 +123,8 @@
|
|||||||
- name: "Installer : Schedule : Backup"
|
- name: "Installer : Schedule : Backup"
|
||||||
ansible.builtin.cron:
|
ansible.builtin.cron:
|
||||||
name: "Matte - Infra - Backup"
|
name: "Matte - Infra - Backup"
|
||||||
hour: "4"
|
hour: "3"
|
||||||
minute: "0"
|
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"
|
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:
|
tags:
|
||||||
- cron
|
- cron
|
||||||
|
Loading…
Reference in New Issue
Block a user