Created
October 12, 2017 08:12
-
-
Save katzefudder/7be07919c4d643f1e96d76894c2ad7f2 to your computer and use it in GitHub Desktop.
Ansible in a Container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
MAINTAINER Florian Dehn <[email protected]> | |
RUN echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y python-pip openssh-client | |
RUN pip install --upgrade pip | |
RUN pip install ansible | |
RUN mkdir -pv /data | |
WORKDIR /data | |
ENTRYPOINT ["ansible-playbook"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment