ansible-role-apache/tests/Dockerfile.ubuntu-12
2015-12-13 15:37:43 -06:00

13 lines
373 B
Text

FROM ubuntu:12.04
# Add `apt-add-repository`.
RUN apt-get install python-software-properties
# Install Ansible
RUN 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
# Install Ansible inventory file
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts