Created
October 12, 2013 19:57
-
-
Save blissdev/6954182 to your computer and use it in GitHub Desktop.
Install Docker with Ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: add docker repository key | |
sudo: yes | |
shell: curl https://get.docker.io/gpg | apt-key add - | |
- name: add docker repository | |
sudo: yes | |
shell: echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list | |
- name: update apt | |
apt: update_cache=yes | |
sudo: yes | |
- name: install docker | |
apt: pkg=lxc-docker state=installed | |
sudo: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment