You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
307 B
11 lines
307 B
---
|
|
|
|
- name: Check if composer exists in /usr/local/bin
|
|
stat: path=/usr/local/bin/composer
|
|
register: composer_local
|
|
tags: web
|
|
|
|
- name: Remove manually installed composer
|
|
file: path=/usr/local/bin/composer state=absent
|
|
when: composer_local.stat.exists and not composer_local.stat.islnk
|
|
tags: web
|
|
|