Public | Automated Build

Last pushed: a year ago
Short Description
Full Description

Ansible + Amazon AWS CLI + Docker Image

This container contains Ansible, Amazon AWS CLI and Docker.

Configuration files

You should mount specific config folders like ~/.aws and ~/.ansible to /root.
boto is also installed and can be configured.

Using Ansible

Run the following command with your arguments from the root of your Ansible project.

$ docker run -it --rm -v $(pwd):/app prooph/ansible-aws-cli ansible --help
$ docker run -it --rm -v $(pwd):/app prooph/ansible-aws-cli ansible-playbook --help

Using Amazon AWS CLI

$ docker run -it --rm -v ~/.aws:/root/.aws prooph/ansible-aws-cli aws help

Using Amazon AWS ECR

To login to the Amazon Container Registry (ECR) with your Amazon AWS credentials use:

$ docker run -it --rm -v ~/.aws:/root/.aws -v /var/run/docker.sock:/var/run/docker.sock ansible-aws-cli aws ecr get-login --region eu-central-1 | tr -d '\r\n' | xargs xargs
Docker Pull Command
Source Repository