mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-09-20 10:31:32 +02:00
9 lines
323 B
Docker
9 lines
323 B
Docker
FROM ubuntu:12.04
|
|
# Install Ansible
|
|
RUN apt-get install -y python-software-properties 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
|
|
|