https://github.com/boutetnico/ansible-role-awscli
Install and configure AWS Command Line Interface with Ansible.
https://github.com/boutetnico/ansible-role-awscli
ansible aws awscli cli debian ubuntu
Last synced: about 1 year ago
JSON representation
Install and configure AWS Command Line Interface with Ansible.
- Host: GitHub
- URL: https://github.com/boutetnico/ansible-role-awscli
- Owner: boutetnico
- License: mit
- Created: 2019-10-08T10:08:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T09:26:13.000Z (almost 2 years ago)
- Last Synced: 2025-03-26T08:47:33.465Z (about 1 year ago)
- Topics: ansible, aws, awscli, cli, debian, ubuntu
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/boutetnico/ansible-role-awscli/actions?query=workflow%3A%22Test+ansible+role%22)
[](https://galaxy.ansible.com/boutetnico/awscli)
ansible-role-awscli
===================
This role installs and configures [AWS Command Line Interface](https://aws.amazon.com/cli/).
Requirements
------------
Ansible 2.10 or newer.
Supported Platforms
-------------------
- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)
- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)
- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)
- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)
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](https://github.com/boutetnico)