add update task
This commit is contained in:
parent
fc71a34b8e
commit
26410dc3cd
|
@ -5,3 +5,6 @@
|
||||||
|
|
||||||
- name: Include install app
|
- name: Include install app
|
||||||
include_tasks: installapp.yml
|
include_tasks: installapp.yml
|
||||||
|
|
||||||
|
- name: Include update app
|
||||||
|
include_tasks: update.yml
|
|
@ -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
|
Loading…
Reference in New Issue