Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boutetnico/ansible-role-composer
Install and configure Composer with Ansible.
https://github.com/boutetnico/ansible-role-composer
ansible composer debian packagist php ubuntu
Last synced: about 6 hours ago
JSON representation
Install and configure Composer with Ansible.
- Host: GitHub
- URL: https://github.com/boutetnico/ansible-role-composer
- Owner: boutetnico
- License: mit
- Created: 2020-02-04T10:04:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T11:26:37.000Z (3 months ago)
- Last Synced: 2024-08-01T12:58:36.389Z (3 months ago)
- Topics: ansible, composer, debian, packagist, php, ubuntu
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![tests](https://github.com/boutetnico/ansible-role-composer/workflows/Test%20ansible%20role/badge.svg)](https://github.com/boutetnico/ansible-role-composer/actions?query=workflow%3A%22Test+ansible+role%22)
[![Ansible Galaxy](https://img.shields.io/badge/galaxy-boutetnico.composer-blue.svg)](https://galaxy.ansible.com/boutetnico/composer)ansible-role-composer
=====================This role installs and configures [Composer](https://getcomposer.org/).
Requirements
------------Ansible 2.10 or newer.
Supported Platforms
-------------------- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)
- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)
- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)
- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)Role Variables
--------------| Variable | Required | Default | Choices | Comments |
|--------------------------|----------|-----------------------------|-----------|-----------------------------------------------|
| composer_path | true | `/usr/local/bin/composer` | string | |
| composer_keep_updated | true | `false` | bool | |
| composer_users | true | | list | Configuration object. See `defaults/main.yml`.|Dependencies
------------None
Example Playbook
----------------- hosts: all
roles:
- role: ansible-role-composer
composer_users:
- user: root
group: root
home: /root/.composer
auth:
http-basic:
github.com:
username: alice
password: fooTesting
-------molecule test
License
-------MIT
Author Information
------------------[@boutetnico](https://github.com/boutetnico)