ansible-role-apache/tests/Dockerfile.ubuntu-12
2015-12-13 20:11:16 -06:00

10 lines
324 B
Text

FROM ubuntu:12.04
# Install Ansible
RUN apt-get install -y software-properties-common python-software-properties git
RUN apt-add-repository -y ppa:ansible/ansible
RUN apt-get update
RUN apt-get install -y ansible
# Install Ansible inventory file
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts