Plain docker ansible install
280
This Docker container provides a pre-installed environment for running Ansible with all necessary dependencies. It simplifies the execution of automation tasks by eliminating the need for manual setup.
ansible, ansible-playbook, ansible-galaxy).boto3, netaddr, pywinrm) and system utilities.curl, ping, jq, and other debugging utilities.Use the following Dockerfile to build the image:
# Dockerfile
FROM python:3.11-slim
# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
sshpass \
openssh-client \
jq \
curl \
&& pip install --no-cache-dir ansible boto3 netaddr pywinrm \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Set a working directory
WORKDIR /ansible
# Default command to show Ansible version
CMD ["ansible", "--version"]
Content type
Image
Digest
sha256:dd79eec4c…
Size
288.9 MB
Last updated
almost 2 years ago
docker pull nertworkweb/ansible