Skip to content

Instantly share code, notes, and snippets.

@gogson
Created January 25, 2019 14:18
Show Gist options
  • Save gogson/85c6b69ab2e72d97f3888ea90941484a to your computer and use it in GitHub Desktop.
Save gogson/85c6b69ab2e72d97f3888ea90941484a to your computer and use it in GitHub Desktop.
Test ansible playbook inside a debian 9 container
FROM williamyeh/ansible:debian9
WORKDIR /tmp
COPY . /tmp
RUN echo localhost > inventory
RUN ansible-playbook -v -i inventory monitor-node.yml --connection=local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment