aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bean.jinwei.me')
-rw-r--r--bean.jinwei.me/config/roles/beancount/tasks/main.yaml20
1 files changed, 10 insertions, 10 deletions
diff --git a/bean.jinwei.me/config/roles/beancount/tasks/main.yaml b/bean.jinwei.me/config/roles/beancount/tasks/main.yaml
index 98bf49d..0b0bc39 100644
--- a/bean.jinwei.me/config/roles/beancount/tasks/main.yaml
+++ b/bean.jinwei.me/config/roles/beancount/tasks/main.yaml
@@ -26,13 +26,13 @@
26 project_src: "{{ bean_home }}" 26 project_src: "{{ bean_home }}"
27 register: output 27 register: output
28 28
29#- name: setup cronjob for additional backup 29- name: setup cronjob for upgrade
30# cron: 30 cron:
31# cron_file: wordpress_backup_hetzner 31 cron_file: ledger_upgrade
32# user: root 32 user: root
33# state: present 33 state: present
34# name: "wordpress backup" 34 name: "ledger upgrade"
35# minute: "0" 35 minute: "0"
36# hour: "0" 36 hour: "*"
37# day: "*" 37 day: "*"
38# job: "tar caf /tmp/wordpress-$(date -u +\\%Y-\\%m-\\%d-\\%H-\\%M-\\%S\\%Z).tar.xz {{ wordpress_home }} && rsync -azvP /tmp/wordpress-*.tar.xz {{ samba_backup_path }}" 38 job: "cd {{ bean_home }} && docker-compose pull && docker-compose up -d"
Powered by cgit v1.2.3 (git 2.41.0)