Role that installs the AWS CLI v2 using the official installer.
Available on Ansible Galaxy.
Some tasks require root privileges. Privilege escalation is performed with
explicit become: true
statements.
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.
- "Check here for available versions:
<https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst>"
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: /opt/aws-cli
description:
- Install directory. Used for `--install-dir` parameter.
Maintained and actively used.
Contributions are welcome. Please refer to CONTRIBUTING.md
.
Consult DEVELOPMENT.md
for guidance regarding development.
Read RELEASE.md
for details about the release process.
This work is licensed under the
Apache License (Apache-2.0), a
permissive license whose main conditions require preservation of copyright and
license notices. See LICENSE
for the license text.
This work comes with an explicit NOTICE
file containing additional
legal notices and information.