This role installs and configures Composer.
Ansible 2.10 or newer.
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
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 . |
None
- 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
molecule test
MIT