Samuli Silvius | bf6776c | 2019-03-25 18:46:24 +0200 | [diff] [blame^] | 1 | --- |
2 | - name: Install Docker-CE repo | ||||
3 | yum_repository: | ||||
4 | name: docker-ce | ||||
5 | description: Docker-ce YUM repo | ||||
6 | baseurl: https://download.docker.com/linux/centos/7/x86_64/stable/ | ||||
7 | gpgcheck: true | ||||
8 | gpgkey: https://download.docker.com/linux/centos/gpg | ||||
9 | |||||
10 | - name: Install docker python bindings | ||||
11 | import_tasks: python-bindings.yml | ||||
12 | |||||
13 | - name: Fake dockerd on container | ||||
14 | import_tasks: docker-socket-override.yml | ||||
15 | when: ansible_env.container == 'docker' |