Markus Pesch c232c282db
Some checks are pending
Release / push-arch-linux (push) Waiting to run
Release / push-rocky-linux-8 (push) Waiting to run
Release / sync-to-hub-docker-io (push) Blocked by required conditions
Build / build-arch-linux (push) Successful in 12m1s
Build / build-rocky-linux-8 (push) Successful in 8m49s
fix(ci): use container image tag from git tag
2025-05-08 15:44:14 +02:00
2023-01-10 17:43:02 +01:00
2023-01-10 17:43:02 +01:00
2023-01-10 17:43:02 +01:00
2025-05-08 12:23:22 +02:00
2023-01-10 17:43:02 +01:00
2023-01-10 17:43:02 +01:00
2025-05-08 12:23:22 +02:00

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/volkerraschek/ansible:latest \
      bash -c "ansible-galaxy install -r requirements.yaml && ansible-playbook -i inventories/demo.aws_ec2.yaml aws.yaml"
Description
No description provided
Readme 137 KiB
Languages
Makefile 90.3%
Shell 9.7%