Skip to content
Snippets Groups Projects
Commit 22003e43 authored by jurgenhaas's avatar jurgenhaas
Browse files

New script to update composer itself and global packages

parent 2d28913a
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,10 @@
- block:
- include: install.yml
- include: test.yml
tags: 'update'
- include: configure.yml
- include: auth_json.yml
- include: update.yml
when: composer_update == true
tags: 'update'
when: '"composer" not in excluded_roles'
......@@ -10,3 +10,7 @@
shell:
"{{ composer_path }} selfupdate"
when: composer_date.stdout|int > composer_stat.stat.mtime|int
- name: Update Composer Packages
shell: COMPOSER_HOME={{ composer_home_path }}
composer global update
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment