File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:16.04
2+ MAINTAINER Mischa ter Smitten <mtersmitten@oefenweb.nl>
3+
4+ # python
5+ RUN apt-get update && \
6+ DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal python-dev curl && \
7+ apt-get clean
8+ RUN curl -sL https://bootstrap.pypa.io/get-pip.py | python -
9+ RUN rm -rf $HOME/.cache
10+
11+ # ansible
12+ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gcc libffi-dev libssl-dev && \
13+ apt-get clean
14+ RUN pip install ansible==2.6.2
15+ RUN rm -rf $HOME/.cache
16+
17+ # provision
18+ COPY . /etc/ansible/roles/ansible-role
19+ WORKDIR /etc/ansible/roles/ansible-role
20+ RUN ansible-playbook -i tests/inventory tests/test.yml --connection=local
Original file line number Diff line number Diff line change 22---
33apt_file_dependencies :
44 - apt-file
5+ - cron
56
67apt_file_update_job : >
78 test -x /usr/bin/apt-file && /usr/bin/apt-file update
You can’t perform that action at this time.
0 commit comments