mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-22 19:10:19 +01:00
15 lines
550 B
Text
15 lines
550 B
Text
FROM ubuntu:12.04
|
|
<<<<<<< HEAD:tests/Dockerfile.ubuntu-12
|
|
|
|
# Install Ansible
|
|
RUN apt-get install -y software-properties-common python-software-properties git
|
|
=======
|
|
# Install Ansible
|
|
RUN apt-get install -y python-software-properties software-properties-common git
|
|
>>>>>>> 3a993606b22d1162ecea3a8f595b3d17410a8450:tests/Dockerfile.ubuntu-12.04
|
|
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
|
|
|