Skip to content

Instantly share code, notes, and snippets.

@j00bar
Created July 14, 2016 15:48
Show Gist options
  • Save j00bar/b1a5182b8ee7cd7399b8bafa9db0242f to your computer and use it in GitHub Desktop.
Save j00bar/b1a5182b8ee7cd7399b8bafa9db0242f to your computer and use it in GitHub Desktop.
ansible-container:
image: "sha256:66f6e379609aa7796e79bf214c5689c9a732eaad4793ef4a1a0c2cf074d3e9e2"
command: /usr/local/bin/builder.sh /usr/local/bin/ansible-playbook -i /tmp/workspace/hosts -c docker --list-hosts main.yml
environment:
- DOCKER_HOST
- DOCKER_TLS_VERIFY
- DOCKER_CERT_PATH=/docker-certs/
- COMPOSE_HTTP_TIMEOUT=3000
- DOCKER_API_VERSION=1.23
volumes:
- $DOCKER_CERT_PATH:/docker-certs/
- /Users/jginsberg/Development/ansible/ansible-container/example:/ansible-container/
- /var/folders/wg/d5z1m_tn7d31p142wgc800tw0000gp/T/tmpSlpbHI:/tmp/working/
working_dir: /ansible-container/ansible/
stdin_open: true
tty: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment