https://github.com/trallnag/ansible-role-aws-sam-cli
Ansible Role that installs the AWS SAM CLI using the official installer.
https://github.com/trallnag/ansible-role-aws-sam-cli
ansible ansible-role aws
Last synced: about 1 year ago
JSON representation
Ansible Role that installs the AWS SAM CLI using the official installer.
- Host: GitHub
- URL: https://github.com/trallnag/ansible-role-aws-sam-cli
- Owner: trallnag
- License: apache-2.0
- Created: 2024-05-20T08:45:20.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-05T12:47:39.000Z (about 1 year ago)
- Last Synced: 2025-04-05T13:39:16.248Z (about 1 year ago)
- Topics: ansible, ansible-role, aws
- Language: Python
- Homepage: https://galaxy.ansible.com/ui/standalone/roles/trallnag/aws_sam_cli
- Size: 251 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role `trallnag.aws_sam_cli`
Role that installs the [AWS SAM CLI](https://github.com/aws/aws-sam-cli) using
the official installer.
Available on
[Ansible Galaxy](https://galaxy.ansible.com/ui/standalone/roles/trallnag/aws_sam_cli).
## Table of Contents
- [Requirements](#requirements)
- [Role Parameters](#role-parameters)
- [Project Status](#project-status)
- [Contributing](#contributing)
- [Licensing](#licensing)
## 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_sam_cli_version:
required: false
type: str
default: present
description:
- Version of the AWS SAM CLI to install. For example `1.116.0`.
- Use special value `present` to install latest version once.
- Use special value `latest` to always install latest version.
aws_sam_cli_bin_dir:
required: false
type: str
default: /usr/local/bin
description:
- Bin directory. Used for `--bin-dir` parameter.
aws_sam_cli_install_dir:
required: false
type: str
default: /opt/aws-sam-cli
description:
- Install directory. Used for `--install-dir` parameter.
```
## Project Status
Maintained and actively used.
## Contributing
Contributions are welcome. Please refer to [`CONTRIBUTING.md`](CONTRIBUTING).
Consult [`DEVELOPMENT.md`](DEVELOPMENT.md) for guidance regarding development.
Read [`RELEASE.md`](RELEASE.md) for details about the release process.
## Licensing
This work is licensed under the
[Apache License](https://choosealicense.com/licenses/apache-2.0) (Apache-2.0), a
permissive license whose main conditions require preservation of copyright and
license notices. See [`LICENSE`](LICENSE) for the license text.
This work comes with an explicit [`NOTICE`](NOTICE) file containing additional
legal notices and information.