2017-02-24 05:08:18 +01:00
|
|
|
---
|
2017-02-24 05:21:00 +01:00
|
|
|
- name: Add Docker GPG key.
|
|
|
|
rpm_key:
|
|
|
|
key: https://yum.dockerproject.org/gpg
|
|
|
|
state: present
|
2017-02-24 05:08:18 +01:00
|
|
|
|
|
|
|
- name: Add Docker repository.
|
2017-02-24 05:21:00 +01:00
|
|
|
template:
|
|
|
|
src: 'docker.repo.j2'
|
|
|
|
dest: '/etc/yum.repos.d/docker.repo'
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|