Installation
Build ansible docker container
Dockerfile using ubuntu image
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y gcc python3-dev libkrb5-dev && \
apt-get install python3-pip -y && \
pip3 install --upgrade pip && \
pip3 install --upgrade virtualenv && \
pip3 install pywinrm[kerberos] && \
apt install krb5-user -y && \
pip3 install pywinrm && \
pip3 install ansible && \
pip3 install ansible-pylibssh && \
pip3 install paramiko
WORKDIR /ansibleDockerfile using python image
Build Docker Image
Reference
Last updated