https://github.com/trallnag/ansible-role-aws-cli
Ansible role that installs the AWS CLI v2 using the official installer.
https://github.com/trallnag/ansible-role-aws-cli
ansible ansible-role aws
Last synced: about 2 months ago
JSON representation
Ansible role that installs the AWS CLI v2 using the official installer.
- Host: GitHub
- URL: https://github.com/trallnag/ansible-role-aws-cli
- Owner: trallnag
- License: isc
- Created: 2021-07-25T20:55:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2026-02-03T07:04:11.000Z (4 months ago)
- Last Synced: 2026-02-03T20:07:37.167Z (4 months ago)
- Topics: ansible, ansible-role, aws
- Language: Dockerfile
- Homepage: https://galaxy.ansible.com/ui/standalone/roles/trallnag/aws_cli
- Size: 473 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](#project-status)
[](https://github.com/trallnag/ansible-role-aws-cli/releases)
[](https://github.com/trallnag/ansible-role-aws-cli/actions/workflows/ci.yaml)
[](https://github.com/trallnag/ansible-role-aws-cli/actions/workflows/release.yaml)
# Ansible Role `trallnag.aws_cli`
Role that installs the [AWS CLI v2](https://github.com/aws/aws-cli/tree/v2)
using the official installer.
Available on
[Ansible Galaxy](https://galaxy.ansible.com/ui/standalone/roles/trallnag/aws_cli).
Also consider:
- [trallnag/ansible-role-aws-ssm-plugin](https://github.com/trallnag/ansible-role-aws-ssm-plugin)
- [trallnag/ansible-role-aws-sam-cli](https://github.com/trallnag/ansible-role-aws-sam-cli)
## Requirements
Some tasks require root privileges. Privilege escalation is performed with
explicit `become: true` statements.
## Role parameters
See [`meta/argument_specs.yml`](./meta/argument_specs.yml).
```yaml
aws_cli__version:
required: false
type: str
default: present
description:
- Version of the AWS CLI to install. For example `2.13.0`.
- Use special value `present` to install latest version once.
- Use special value `latest` to always install latest version.
aws_cli__bin_dir:
required: false
type: str
default: /usr/local/bin
description:
- Bin directory. Used for `--bin-dir` parameter.
aws_cli__install_dir:
required: false
type: str
default: /usr/local/aws-cli
description:
- Install directory. Used for `--install-dir` parameter.
```
## Project status
The project is maintained by me, [Tim](https://github.com/trallnag), and I am
interested in keeping it alive as I am actively using it.
## Versioning
The project follows [Semantic Versioning](https://semver.org/).
## Contributing
Contributions are welcome. Please refer to [`CONTRIBUTE.md`](./CONTRIBUTE.md).
## Licensing
This work is licensed under the
[ISC license](https://en.wikipedia.org/wiki/ISC_license). See
[`LICENSE`](./LICENSE) for the license text.
## Template
This project is based on the following
[Copier](https://copier.readthedocs.io/en/stable/) template:
.