mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-09 11:20:18 +01:00
14 lines
427 B
Text
14 lines
427 B
Text
FROM ubuntu:14.04
|
|
RUN apt-get update
|
|
|
|
# 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
|
|
|
|
COPY initctl_faker .
|
|
RUN chmod +x initctl_faker && rm -fr /sbin/initctl && ln -s /initctl_faker /sbin/initctl
|
|
|
|
# Install Ansible inventory file
|
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|