myos/ansible/roles/aws-cli
aynic.os d6d1299ae2 wip 2021-07-11 08:56:03 +01:00
..
defaults import files 2021-02-09 18:08:58 +01:00
meta import files 2021-02-09 18:08:58 +01:00
tasks wip 2021-07-11 08:56:03 +01:00
templates import files 2021-02-09 18:08:58 +01:00
.gitrepo lol 2021-06-13 02:14:49 +02:00
README.md import files 2021-02-09 18:08:58 +01:00

README.md

DEPRECATION NOTICE

We have moved away from Ansible and are in the process of removing or transferring ownership of our Ansible repositories. If you rely on this repository directly, please make arrangements to replace this dependency with your own fork.

AWS CLI role for Ansible

Installs and configures the AWS CLI for conveniently interacting with AWS services such as S3.

Requirements

  • Tested on Ubuntu 12.04 Server;
  • Ansible 2.0+

Role Variables

The default variables are as follows:

aws_output_format: 'json'
aws_region: 'ap-southeast-2'
aws_access_key_id: 'YOUR_ACCESS_KEY_ID'
aws_secret_access_key: 'YOUR_SECRET_ACCESS_KEY'

Example Playbook

- hosts: 'servers'
  roles:
    - role: 'dstil.aws-cli'
      aws_output_format: 'json'
      aws_region: 'ap-southeast-2'
      aws_access_key_id: 'SUPER_SECRET_ACCESS_KEY_ID'   # Don't version this or put it on pastebin
      aws_secret_access_key: 'SUPER_SECRET_ACCESS_KEY'  # Ditto

License

This playbook is provided 'as-is' under the conditions of the BSD license. No fitness for purpose is guaranteed or implied.