ansible-role-apache/tests/Dockerfile.ubuntu-12.04

10 lines
323 B
Text
Raw Normal View History

2015-12-14 00:00:39 +01:00
FROM ubuntu:12.04
2015-12-12 11:17:40 +01:00
# Install Ansible
2015-12-14 00:15:55 +01:00
RUN apt-get install -y python-software-properties software-properties-common git
2015-12-12 11:17:40 +01:00
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