mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
12 lines
307 B
YAML
12 lines
307 B
YAML
---
|
|
|
|
- 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
|