Sign inSign up

volkerraschek/ansible

By volkerraschek

•Updated 19 days ago

Image
0

1.2K

volkerraschek/ansible repository overview

⁠ansible

Docker Pulls

This container image can be used to execute ansible. It contains the latest versions of ansible-core, ansible-lint and python-boto3 to interact with AWS dynamic inventory.

Here is an example. The environment variables as well as the path to the playbook and inventory must of course be adapted to your own needs.

docker run \
  --env AWS_ACCESS_KEY_ID \
  --env AWS_SECRET_ACCESS_KEY \
  --env AWS_SESSION_TOKEN \
  --rm \
  --volume $(pwd):$(pwd) \
  --workdir $(pwd) \
    git.cryptic.systems/volker.raschek/ansible:latest \
      bash -c "ansible-galaxy install -r requirements.yaml && ansible-playbook -i inventories/demo.aws_ec2.yaml aws.yaml"

Tag summary

Content type

Image

Digest

sha256:b7abbb873…

Size

245.1 MB

Last updated

19 days ago

docker pull volkerraschek/ansible:0.3.1-rockylinux-9