18 lines
596 B
YAML
18 lines
596 B
YAML
---
|
|
- name: "Install yq (YAML processor for our smart wrappers)"
|
|
ansible.builtin.get_url:
|
|
url: "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64"
|
|
dest: /usr/local/bin/yq
|
|
mode: '0755'
|
|
|
|
- name: "Download the Composer installer script"
|
|
ansible.builtin.get_url:
|
|
url: https://getcomposer.org/installer
|
|
dest: /tmp/composer-setup.php
|
|
mode: '0755'
|
|
|
|
- name: "Install Composer executable globally"
|
|
ansible.builtin.command:
|
|
cmd: php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer
|
|
args:
|
|
creates: /usr/local/bin/composer |