Skip to content

boutetnico/ansible-role-awscli

Repository files navigation

tests Ansible Galaxy

ansible-role-awscli

This role installs and configures AWS Command Line Interface v2 using the official AWS installer.

Requirements

Ansible 2.10 or newer.

Supported Platforms

Role Variables

Variable Required Default Choices Comments
awscli_users true [] list Main configuration list. See defaults/main.yml.
awscli_package_state true present string Use latest to upgrade.

Dependencies

None

Example Playbook

- hosts: all
  roles:
    - role: ansible-role-awscli
      awscli_users:
        - name: test_user
          group: test_group
          home: /home/test_user
          aws_access_key_id: aaaa...
          aws_secret_access_key: bbbb...
          aws_region: us-east-1
          s3_configuration:
            - "use_accelerate_endpoint = false"

Testing

molecule test

License

MIT

Author Information

@boutetnico

About

Install and configure AWS Command Line Interface with Ansible.

Topics

Resources

License

Stars

Watchers

Forks

Contributors