Skip to content

Commit

Permalink
make docker installation dynamic
Browse files Browse the repository at this point in the history
Resolves:
Related:
Signed-off-by: Daniel Andrei Minca <[email protected]>
  • Loading branch information
Daniel Andrei Minca committed Dec 2, 2016
1 parent 118eae2 commit 44a8868
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions roles/debian-docker/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
- name: ensure docker-py is present
become: true
become_method: sudo
environment: "{{ proxy_env }}"
pip:
name: docker-py
state: latest
Expand All @@ -26,16 +25,16 @@
become: true
become_method: sudo
apt_repository:
repo: "deb https://apt.dockerproject.org/repo debian-jessie main"
repo: "deb {{ docker_apt_url }}/repo {{ ansible_distribution|lower }}-{{ ansible_distribution_release }} {{ docker_repo.beta }}"
state: present
update_cache: true

- name: get docker-engine apt key
become: true
become_method: sudo
apt_key:
keyserver: "hkp://p80.pool.sks-keyservers.net:80"
id: "58118E89F3A912897C070ADBF76221572C52609D"
keyserver: "{{ docker_gpg_keyservers.hapool }}"
id: "{{ docker_gpg_fingerprint }}"
state: present

- name: install docker
Expand Down

0 comments on commit 44a8868

Please sign in to comment.