composer

tests Ansible Galaxy

ansible-role-composer

This role installs and configures Composer.

Requirements

Ansible 2.10 or newer.

Supported Platforms

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

@boutetnico

About

Install and configure composer.

Install
ansible-galaxy install boutetnico/ansible-role-composer
GitHub repository
License
mit
Downloads
23
Owner
System Engineer