Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aplyca/ansible-role-aws
- Owner: Aplyca
- License: mit
- Created: 2014-10-31T21:46:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-22T01:58:50.000Z (almost 6 years ago)
- Last Synced: 2024-03-25T23:49:27.669Z (10 months ago)
- Topics: ansible, ansible-role, automation, aws, cloudwatch, cloudwatch-logs
- Language: Shell
- Size: 45.9 KB
- Stars: 8
- Watchers: 7
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 cloudwatchRequirements
------------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-behaviourInstallation
------------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)