diff --git a/deployment/main.yml b/deployment/main.yml index df1f9cd..8c2fb7b 100644 --- a/deployment/main.yml +++ b/deployment/main.yml @@ -186,6 +186,13 @@ cmd: | pm2 startup when: START_ON_BOOT == true and START_SERVICES == true and WEB_ENABLED == true + - name: enable ccash on boot + ansible.builtin.cron: + name: CCash enable on boot + special_time: reboot + state: present + job: '{{ BUILD_DIR }}/CCash/build/bank {{ ADMIN_A }} {{ SAVE_FREQ }} true' + when: START_ON_BOOT == true - name: allow firewalld ports ansible.posix.firewalld: diff --git a/deployment/vars/default.yml b/deployment/vars/default.yml index d8ac2f9..ecfa980 100644 --- a/deployment/vars/default.yml +++ b/deployment/vars/default.yml @@ -6,4 +6,5 @@ USE_DEPRECATED_ENDPOINTS: "true" WEB_ENABLED: true WEB_PORT: "3000" START_SERVICES: true -BRANCH: "v2" \ No newline at end of file +START_ON_BOOT: true +BRANCH: "v2.5.1" \ No newline at end of file