Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aplyca/ansible-role-aws

General tasks in AWS
https://github.com/aplyca/ansible-role-aws

ansible ansible-role automation aws cloudwatch cloudwatch-logs

Last synced: about 2 months ago
JSON representation

General tasks in AWS

Awesome Lists containing this project

README

        

Ansible Role AWS
================

An Ansible role that installs AWSCli and AWS CloudWatch Logs

[![Build Status](https://travis-ci.org/Aplyca/ansible-role-aws.svg?branch=master)](https://travis-ci.org/Aplyca/ansible-role-aws)
[![Circle CI](https://circleci.com/gh/Aplyca/ansible-role-aws.svg?style=svg)](https://circleci.com/gh/Aplyca/ansible-role-aws)

Ansible Role that installs and configure AWS CLI on Debian/Ubuntu.

General tasks in AWS
------------
- This role installs the aws-cli
- You can use aws-cli to sync s3
- You can use aws-cli to send logs to cloudwatch

Requirements
------------

Use hash behavior for variables in ansible.cfg
See example: https://github.com/Aplyca/ansible-role-aws/blob/master/tests/ansible.cfg
See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour

Installation
------------

Using ansible galaxy:
```bash
ansible-galaxy install aplyca.AWS
```
You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:
```yaml
dependencies:
- { role: aplyca.AWS }
```

Role Variables
--------------
See default variables: https://github.com/Aplyca/ansible-role-aws/blob/master/defaults/main.yml

** Add user for AWS S3 Profile **
```
aws:
profiles:
user:
aws_access_key_id: "THISISTHEUSERACCESSKEY"
aws_secret_access_key: "THISISTHEUSERSECRETACCESSKEY"
region: us-east-1
ouput: json
```
Dependencies
------------

None.

Testing
-------
Using Vagrant:

```bash
tests/vagrant.sh
```
Using Docker:

```bash
tests/docker.sh
```

License
-------

MIT / BSD

Author Information
------------------

Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)