mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2025-12-16 01:39:54 +03:00
Initial commit.
This commit is contained in:
13
tasks/setup-RedHat.yml
Normal file
13
tasks/setup-RedHat.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
# - 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
|
||||
Reference in New Issue
Block a user