vmware.ansible_role_greengrass_awscli
Greengrass AWSCLI
This role sets up AWS CLI (Command Line Interface) on your system, allowing you to use Greengrass and other AWS services easily.
Build Status
Requirements
You need to provide your AWS credentials to use this role.
Role Variables
You'll likely need to set the following values:
# Get these from your AWS Console
aws_access_key=<your AWS access key>
aws_secret_key=<your AWS secret key>
Dependencies
This role doesn’t have any specific dependencies. It has been tested only on Ubuntu/Debian systems.
Example Playbook
Here’s a simple example of how to use the role:
- hosts: servers
roles:
- { role: vmware.awscli }
Getting Started
To develop or test this role, follow these steps:
- Clone this repository.
- Install Ansible and other requirements using pip:
pip install -r requirements.txt
- Test the role by running:
molecule converge
You can also build a Docker container for testing:
- Clone this repository.
- Build the Docker images:
docker build -t vmware/awscli .
- Run the image with the desired role:
docker run -it vmware/awscli
License
This code is available under both the Apache-2.0 and GPLv3 licenses.