summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml
blob: 26f89d64aa00db52c3d3df2b8e7a223bcbfb33cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- 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: Install docker python bindings
  import_tasks: python-bindings.yml

- name: Fake dockerd on container
  import_tasks: docker-socket-override.yml
  when: ansible_env.container == 'docker'