From: Lorin Hochstein Date: Mon, 6 Feb 2017 05:10:06 +0000 (-0800) Subject: Fix deploy with docker stuff X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=133dc9b16c4e5d3f4b67cad4536f284b7506c7ee;p=ansiblebook.git Fix deploy with docker stuff --- diff --git a/ch13/deploy.yml b/ch13/deploy.yml index 075df72..ad99e0a 100644 --- a/ch13/deploy.yml +++ b/ch13/deploy.yml @@ -1,5 +1,5 @@ - name: install Docker - hosts: all + hosts: ghost become: True tasks: - name: install packages @@ -7,7 +7,7 @@ with_items: - apt-transport-https - ca-certificates - - linux-image-extra-virtual-{{ ansible_kernel }} + - linux-image-extra-{{ ansible_kernel }} - linux-image-extra-virtual - software-properties-common - name: add Docker's GPG key @@ -16,7 +16,7 @@ url: https://yum.dockerproject.org/gpg - name: add Docker stable repository apt_repository: - repo: deb https://apt.dockerproject.org/repo/ubuntu-{{ansible_distribution_release}} main + repo: deb https://apt.dockerproject.org/repo/ ubuntu-{{ansible_distribution_release}} main update_cache: yes - name: install Docker apt: name=docker-engine