mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 08:34:40 +03:00
14 lines
263 B
YAML
14 lines
263 B
YAML
---
|
|
- name: Add Docker GPG key.
|
|
rpm_key:
|
|
key: https://yum.dockerproject.org/gpg
|
|
state: present
|
|
|
|
- name: Add Docker repository.
|
|
template:
|
|
src: 'docker.repo.j2'
|
|
dest: '/etc/yum.repos.d/docker.repo'
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|