1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-27 07:33:18 +02:00
2021-12-01 19:13:34 +01:00

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