diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-03-25 18:46:24 +0200 |
---|---|---|
committer | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-04-16 11:33:43 +0000 |
commit | bf6776cc01865b8ba392fdbec18e28bf2a362b05 (patch) | |
tree | 0a68ae8b859984f1fd8d21c58f456e53d7e7d8b1 /ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml | |
parent | e3c829675916391011e86ee78a404570b99bc51a (diff) |
Molecule tests for docker role
Issue-ID: OOM-1759
Change-Id: I9e1ee7f248147b3f7229625c7a20fa84e8e67aac
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml')
-rw-r--r-- | ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml b/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml new file mode 100644 index 00000000..26f89d64 --- /dev/null +++ b/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml @@ -0,0 +1,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' |