ansible-role-docker/tasks/setup-RedHat.yml

14 lines
263 B
YAML
Raw Normal View History

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