trallnag.awscli

Ansible Role trallnag.aws_cli

Role that installs the AWS CLI v2 using the official installer.

Available on Ansible Galaxy.

Also consider:

Table of Contents

Requirements

Some tasks require root privileges. Privilege escalation is performed with explicit become: true statements.

Role Parameters

See meta/argument_specs.yml.

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: /opt/aws-cli
  description:
    - Install directory. Used for `--install-dir` parameter.

Project Status

Maintained and actively used.

Template

This repository is based on the Copier template trallnag/copier-template-ansible-role.

Contributing

Contributions are welcome. Please refer to CONTRIBUTING.md.

Consult DEVELOPMENT.md for guidance regarding development.

Read RELEASE.md for details about the release process.

Licensing

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.

About

Installs the AWS CLI using the official installer

Install
ansible-galaxy install trallnag.awscli
GitHub repository
License
apache-2.0
Downloads
132