10 lines
241 B
Docker
10 lines
241 B
Docker
FROM alpine:3.4
|
|
RUN apk update
|
|
|
|
# Install Ansible
|
|
RUN apk add git ansible python python-dev py-pip
|
|
RUN mkdir /etc/ansible
|
|
|
|
# Install Ansible inventory file
|
|
RUN (echo "[local]"; echo "localhost ansible_connection=local") > /etc/ansible/hosts
|