12 lines
362 B
Docker
12 lines
362 B
Docker
FROM ubuntu:14.04
|
|
RUN apt-get update
|
|
|
|
# Install Ansible
|
|
RUN env DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common git
|
|
RUN apt-add-repository -y ppa:ansible/ansible
|
|
RUN apt-get update
|
|
RUN apt-get install -y ansible python-pip
|
|
|
|
# Install Ansible inventory file
|
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|