238c2647bb43814789d1d190f93cc4a678a0981d
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 8s
Build / build-arch-linux (push) Successful in 1m24s
Build / build-rocky-linux-8 (push) Successful in 2m42s
Build / build-rocky-linux-9 (push) Successful in 1m43s
Release / push-arch-linux (push) Successful in 2m33s
Release / push-rocky-linux-8 (push) Successful in 3m40s
Release / push-rocky-linux-9 (push) Successful in 2m2s
Release / sync-to-hub-docker-io (push) Successful in 1m22s
ansible
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"
Description
Languages
Makefile
93%
Shell
7%