composer

Ansible role - composer

Maintainer License Release Status Ansible version Ansible Galaxy

:star: Star us on GitHub — it motivates us a lot!

Install and configure Composer

:warning: Requirements

  • Ansible >= 2.10
  • PHP
  • cURL

:zap: Installation

ansible-galaxy install claranet.composer

:gear: Role variables

Variable Default value Description
composer_version 2.5.8 Composer version to install
composer_install_dir /usr/local/bin Composer bin folder to install the Composer bin
composer_self_update false Enable Composer self update after installation
composer_force_update false Enable Composer force update version (if false, Composer will not be updated with the new specified version if composer_version var changed)

:arrows_counterclockwise: Dependencies

N/A

:pencil2: Example Playbook

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

:closed_lock_with_key: Hardening

:heart_eyes_cat: Contributing

Mozilla Public License Version 2.0

About

Install and configure Composer

Install
ansible-galaxy install claranet/ansible-role-composer
GitHub repository
License
mpl-2.0
Downloads
9310
Owner
Open source projects from and contributed to by Claranet.