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

12 lines
316 B
Text
Raw Normal View History

2015-12-12 11:17:40 +01:00
FROM ubuntu:14.04
RUN apt-get update
2015-12-14 16:17:30 +01:00
2015-12-12 11:17:40 +01:00
# 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
2015-12-14 16:17:30 +01:00
2015-12-12 11:17:40 +01:00
# Install Ansible inventory file
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts