Sign inSign up

prooph/ansible-aws-cli

By prooph

•Updated almost 10 years ago

ansible-aws-cli

Image
1

824

prooph/ansible-aws-cli repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

145.6 MB

Last updated

almost 10 years ago

docker pull prooph/ansible-aws-cli