Skip to content

Instantly share code, notes, and snippets.

@rstarmer
Created December 31, 2015 09:46
Show Gist options
  • Save rstarmer/ae93f271d9732d325e5c to your computer and use it in GitHub Desktop.
Save rstarmer/ae93f271d9732d325e5c to your computer and use it in GitHub Desktop.
Ansible playbook to update a deployed docker image
---
- hosts: all
sudo: no
tasks:
- name: application container
docker:
name: ruby-hw
image: rstarmer/ruby-hw
state: reloaded
pull: always
ports:
- "80:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment