Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claranet/ansible-role-composer
Install PHP Composer on the target
https://github.com/claranet/ansible-role-composer
ansible claranet composer role
Last synced: about 4 hours ago
JSON representation
Install PHP Composer on the target
- Host: GitHub
- URL: https://github.com/claranet/ansible-role-composer
- Owner: claranet
- License: mpl-2.0
- Created: 2022-09-29T12:38:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-21T07:48:53.000Z (5 months ago)
- Last Synced: 2024-06-22T01:10:10.831Z (5 months ago)
- Topics: ansible, claranet, composer, role
- Language: Jinja
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 12
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible role - composer
[![Maintainer](https://img.shields.io/badge/maintained%20by-claranet-e00000?style=flat-square)](https://www.claranet.fr/)
[![License](https://img.shields.io/github/license/claranet/ansible-role-composer?style=flat-square)](LICENSE)
[![Release](https://img.shields.io/github/v/release/claranet/ansible-role-composer?style=flat-square)](https://github.com/claranet/ansible-role-composer/releases)
[![Status](https://img.shields.io/github/actions/workflow/status/claranet/ansible-role-composer/molecule.yml?style=flat-square&label=tests&branch=main)](https://github.com/claranet/ansible-role-composer/actions?query=workflow%3A%22Ansible+Molecule%22)
[![Ansible version](https://img.shields.io/badge/ansible-%3E%3D2.10-black.svg?style=flat-square&logo=ansible)](https://github.com/ansible/ansible)
[![Ansible Galaxy](https://img.shields.io/badge/ansible-galaxy-black.svg?style=flat-square&logo=ansible)](https://galaxy.ansible.com/claranet/composer)> :star: Star us on GitHub — it motivates us a lot!
Install and configure Composer
## :warning: Requirements
* Ansible >= 2.10
* PHP
* cURL## :zap: Installation
```bash
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
```yaml
---
- hosts: all
roles:
- claranet.composer
```## :closed_lock_with_key: [Hardening](HARDENING.md)
## :heart_eyes_cat: [Contributing](CONTRIBUTING.md)
## :copyright: [License](LICENSE)
[Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/)