add update task

This commit is contained in:
meaz 2023-07-11 22:34:30 +02:00
parent fc71a34b8e
commit 26410dc3cd
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
2 changed files with 10 additions and 0 deletions

View File

@ -5,3 +5,6 @@
- name: Include install app
include_tasks: installapp.yml
- name: Include update app
include_tasks: update.yml

7
tasks/update.yml Normal file
View File

@ -0,0 +1,7 @@
---
- name: '[Update] - Update akaunting'
shell: "php {{ akaunting_app_dir }}/artisan update:all"
become: yes
become_user: "{{ akaunting_user }}"
when: akaunting_update == true