Skip to content

Instantly share code, notes, and snippets.

@gcavalcante8808
Created December 10, 2017 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gcavalcante8808/c5f4b52703b4c50f406b6f8c436f974d to your computer and use it in GitHub Desktop.
Save gcavalcante8808/c5f4b52703b4c50f406b6f8c436f974d to your computer and use it in GitHub Desktop.
Docker plugin install example
---
- name: Verify Weave Plugin
shell: docker plugin ls
register: docker_plugin_out
- name: Install Weave Plugin
shell: docker plugin install store/weaveworks/net-plugin:latest_release --grant-all-permissions
when: docker_plugin_out.stdout.find("weaveworks") == -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment