diff options
Diffstat (limited to 'bean.jinwei.me/config')
-rw-r--r-- | bean.jinwei.me/config/roles/beancount/tasks/main.yaml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bean.jinwei.me/config/roles/beancount/tasks/main.yaml b/bean.jinwei.me/config/roles/beancount/tasks/main.yaml index 0fbcf9d..088da0f 100644 --- a/bean.jinwei.me/config/roles/beancount/tasks/main.yaml +++ b/bean.jinwei.me/config/roles/beancount/tasks/main.yaml | |||
@@ -20,12 +20,6 @@ | |||
20 | dest: "{{ bean_home }}/docker-compose.yaml" | 20 | dest: "{{ bean_home }}/docker-compose.yaml" |
21 | mode: 0644 | 21 | mode: 0644 |
22 | 22 | ||
23 | - name: start ledger container using docker-compose | ||
24 | community.docker.docker_compose: | ||
25 | project_name: ledger | ||
26 | project_src: "{{ bean_home }}" | ||
27 | register: output | ||
28 | |||
29 | - name: setup cronjob for upgrade | 23 | - name: setup cronjob for upgrade |
30 | cron: | 24 | cron: |
31 | cron_file: ledger_upgrade | 25 | cron_file: ledger_upgrade |
@@ -35,4 +29,4 @@ | |||
35 | minute: "0" | 29 | minute: "0" |
36 | hour: "*" | 30 | hour: "*" |
37 | day: "*" | 31 | day: "*" |
38 | job: "cd {{ bean_home }} && /usr/local/bin/docker-compose pull && /usr/local/bin/docker-compose up -d" | 32 | job: "cd {{ bean_home }} && /usr/local/bin/docker-compose pull && /usr/local/bin/docker-compose up -d --force-recreate" |