Created
May 15, 2014 10:20
-
-
Save antonio/14582aed696276db0de0 to your computer and use it in GitHub Desktop.
Install docker
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
--- | |
- hosts: all | |
remote_user: antonio | |
sudo: yes | |
tasks: | |
- name: ensure apt can deal with https | |
apt: name=apt-transport-https state=present | |
- name: add the docker repository | |
apt_repository: repo='deb https://get.docker.io/ubuntu docker main' state=present | |
- name: update the system | |
apt: update_cache=yes upgrade=yes | |
- name: install docker | |
apt: name=lxc-docker state=latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment