Skip to content

Install and configure AWS Command Line Interface with Ansible.

License

Notifications You must be signed in to change notification settings

boutetnico/ansible-role-awscli

Repository files navigation

tests Ansible Galaxy

ansible-role-awscli

This role installs and configures AWS Command Line Interface.

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
          s3_configuration:
            - "use_accelerate_endpoint = false"

Testing

molecule test

License

MIT

Author Information

@boutetnico