[toc] ### Ansible Configuration Files ### Ansible Inventory ### Ansible inside docker :::info Create a Dockerfile vi Dockerfile ``` FROM ubuntu:20.04 ENV ANSIBLE_VERSION 2.9.17 RUN apt-get update; \ apt-get install -y gcc python3; \ apt-get install -y python3-pip; \ apt-get clean all RUN pip3 install --upgrade pip; \ pip3 install "ansible==${ANSIBLE_VERSION}"; \ pip3 install ansible ``` sudo docker build -t ansible:latest . docker image ls docker run -it ansible:latest :::
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up