Add app update task.
This commit is contained in:
parent
f1008d778f
commit
849045bfae
1 changed files with 10 additions and 1 deletions
|
@ -236,7 +236,16 @@
|
|||
changed_when: cmd_result.stdout is not search('Nothing to do.')
|
||||
when: allow_download
|
||||
|
||||
## app installations:
|
||||
## app updates and installations:
|
||||
- name: update apps
|
||||
command: "sudo -u www-data php ./occ app:update --all"
|
||||
args:
|
||||
chdir: "{{ nc_dir }}"
|
||||
warn: False
|
||||
register: cmd_result
|
||||
changed_when: cmd_result.stdout | length > 0
|
||||
when: allow_download
|
||||
|
||||
- name: install extra apps
|
||||
command: "sudo -u www-data php ./occ app:install {{ item }}"
|
||||
args:
|
||||
|
|
Loading…
Add table
Reference in a new issue