ansible-role-docker/tasks/setup-RedHat.yml
2017-02-23 22:08:18 -06:00

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