boutetnico / ansible-role-composer

Install and configure Composer with Ansible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 with Ansible.

License:MIT License


Languages

Language:Python 60.4%Language:Jinja 39.6%