This image extends the base Circleci cimg/python:3.10
image with Ansible and commonly required utilities, such as:
Apt
- sshpass
- git
Pip
- Ansible==9.1.0
To use thsi image in your CircleCI workflows, simply specify it as the docker image
jobs:
run-playbook:
docker:
- image: 32bitbradley/cimg-python310-ansible:latest
environment:
ANSIBLE_FORCE_COLOR: "True"
ANSIBLE_HOST_KEY_CHECKING: "False"
steps:
- checkout
Urgh, installing pip requirements take such a long time, and for every pipeline run too!
This image is part of a collection of CircleCI images I've built with various utilities pre-installed to save time during pipeline runs, check them out on Dockerhub and Github