feature: add init/migrate to oolatoocs + chore: update oolatoocs to v2.0.0

This commit is contained in:
VC
2024-07-05 11:53:47 +02:00
parent 25ed99edf8
commit 5f378c0b14
2 changed files with 11 additions and 1 deletions

View File

@@ -24,6 +24,16 @@
group: www-data
mode: 0640
- name: Init oolatoocs DB
ansible.builtin.command:
cmd: "{{ webapps_oolatoocs_local_bin_path }} init"
creates: "{{ webapps_oolatoocs_db_dir }}/db"
- name: Migrate oolatoocs DB
ansible.builtin.command:
cmd: "{{ webapps_oolatoocs_local_bin_path }} migrate"
changed_when: false
- name: Cron for oolatoocs
ansible.builtin.cron:
name: Oolatoocs

View File

@@ -2,5 +2,5 @@
webapps_oolatoocs_db_dir: /var/lib/oolatoocs
webapps_oolatoocs_url: https://r.mateu.be/oolatoocs/oolatoocs
webapps_oolatoocs_version: v1.5.4
webapps_oolatoocs_version: v2.0.0
webapps_oolatoocs_local_bin_path: /usr/local/bin/oolatoocs