Created
November 26, 2013 14:09
-
-
Save muloka/7658850 to your computer and use it in GitHub Desktop.
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
# vagrant.yml | |
- hosts: all | |
user: vagrant | |
sudo: True | |
tasks: | |
- name: Update APT package cache | |
apt: update_cache=yes | |
- name: Upgrade APT packages | |
apt: upgrade=yes | |
- name: Install linux-image-extra | |
apt: pkg=linux-image-extra-{{ ansible_kernel }} state=present | |
# Add the Docker repository key to your local keychain | |
# using apt-key finger you can check the fingerprint matches 36A1 D786 9245 C895 0F96 6E92 D857 6A8B A88D 21E9 | |
- shell: wget -qO- https://get.docker.io/gpg | apt-key add - | |
# Add the Docker repository to your apt sources list. | |
- shell: echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list | |
- name: Update APT package cache | |
apt: update_cache=yes | |
- name: Update APT package cache | |
apt: pkg=lxc-docker state=present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment