12 lines
373 B
Docker
12 lines
373 B
Docker
FROM ubuntu:18.04
|
|
RUN apt-get update
|
|
|
|
# Install Ansible
|
|
RUN env DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common git systemd
|
|
RUN apt-get update
|
|
RUN apt-get install -y python sudo python-pip python-dev libffi-dev
|
|
|
|
# Install Ansible inventory file
|
|
RUN mkdir /etc/ansible
|
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|