Skip to content

Instantly share code, notes, and snippets.

@MasazI
Created June 21, 2015 03:28
Show Gist options
  • Select an option

  • Save MasazI/1bb837c7e4cbacc2d830 to your computer and use it in GitHub Desktop.

Select an option

Save MasazI/1bb837c7e4cbacc2d830 to your computer and use it in GitHub Desktop.
playbook.yml
---
- hosts: all
tasks:
- name: install latest docker
shell: curl -sSL https://get.docker.com/ubuntu/ | sudo sh
- name: add vagrant user to docker group
command: gpasswd -a vagrant docker
sudo: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment