mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 00:33:04 +03:00
14 lines
373 B
YAML
14 lines
373 B
YAML
---
|
|
# - name: Add Docker GPG key.
|
|
# rpm_key:
|
|
# key: https://apt.dockerproject.org/gpg
|
|
# state: present
|
|
|
|
- name: Add Docker repository.
|
|
yum_repository:
|
|
name: docker
|
|
description: Docker repository.
|
|
baseurl: https://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo
|
|
gpgkey: https://apt.dockerproject.org/gpg
|
|
gpgcheck: yes
|