---

- name: Configure Docker CE repo
  yum_repository:
    name: docker-ce-stable
    description: Docker CE Stable
    baseurl: https://download.docker.com/linux/centos/$releasever/$basearch/{{ docker_branch }}
    gpgcheck: True
    gpgkey: https://download.docker.com/linux/centos/gpg
  tags: repo,docker
