blob: 01ea72c3a0324561660dc9f2be902097a04077c0 [file] [log] [blame]
---
- name: Install Docker-CE repo
yum_repository:
name: docker-ce
description: Docker-ce YUM repo
baseurl: https://download.docker.com/linux/centos/7/x86_64/stable/
gpgcheck: true
gpgkey: https://download.docker.com/linux/centos/gpg
- name: Create rpm dir
file:
path: "{{ rpm_dir }}"
state: directory
- name: Handle docker-ce packages
import_tasks: docker-packages.yml
- name: Fake dockerd on container
import_tasks: docker-socket-override.yml
when: ansible_env.container == 'docker'