boutetnico.composer
ansible-role-composer
This role installs and configures Composer.
Requirements
Ansible 2.10 or newer.
Supported Platforms
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
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: foo
Testing
molecule test
License
MIT
Author Information
Install
ansible-galaxy install boutetnico.composerLicense
mit
Downloads
45
Owner
Systems Engineer
