claranet.composer

Ansible Role - Composer

Maintainer
License
Release
Status
Ansible version
Ansible Galaxy

:star: Give us a star on GitHub — it really helps us!

This role will install and configure Composer.

:warning: Requirements

  • Ansible version must be 2.10 or higher
  • PHP must be installed
  • cURL must be available

:zap: Installation

To install the role, run:

ansible-galaxy install claranet.composer

:gear: Role Variables

Here are the variables you can set:

Variable Default Value Description
composer_version 2.5.8 The version of Composer to install
composer_install_dir /usr/local/bin The directory where Composer will be installed
composer_self_update false Enable automatic updates for Composer after installation
composer_force_update false Force Composer to update to the new version if the version changes

:arrows_counterclockwise: Dependencies

There are no specific dependencies required.

:pencil2: Example Playbook

Here is an example of how to use this role in a playbook:

---
- hosts: all
  roles:
    - claranet.composer

:closed_lock_with_key: Hardening

:heart_eyes_cat: Contributing

This role is licensed under the Mozilla Public License Version 2.0.

Informazioni sul progetto

Install and configure Composer

Installa
ansible-galaxy install claranet.composer
Licenza
mpl-2.0
Download
11.6k
Proprietario
Open source projects from and contributed to by Claranet.