summaryrefslogtreecommitdiffstats
path: root/tests/Dockerfile.ubuntu-12.04
blob: d0c130cdf89083a1198b6a0a6710f5d20488a374 (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM ubuntu:12.04
RUN apt-get update

# 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