summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/vars/main.yml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-04-29 16:13:49 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-04-30 10:09:44 +0200
commita222de90c7485960f9a7836543fd4bba28bad6f8 (patch)
tree562cd3f79ba984f8fb9a9b08590ffdaa9bfe94e4 /ansible/test/roles/prepare-docker/vars/main.yml
parentee157b53be7c176081aed96a74fe8ff09b208cb8 (diff)
Make 'prepare-docker' install proper docker-ce version
Docker-ce version should be aligned with Docker release installed on target platform (see build/creating_data/create-rhel-repo.sh) This patch also optimizes package installation process in Molecule tests. Change-Id: I3f0cb7cd36a3f91027b2be43a925e54167d9c6d0 Issue-ID: OOM-1815 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/test/roles/prepare-docker/vars/main.yml')
-rw-r--r--ansible/test/roles/prepare-docker/vars/main.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/ansible/test/roles/prepare-docker/vars/main.yml b/ansible/test/roles/prepare-docker/vars/main.yml
index c63c0dea..aabd65dc 100644
--- a/ansible/test/roles/prepare-docker/vars/main.yml
+++ b/ansible/test/roles/prepare-docker/vars/main.yml
@@ -2,6 +2,9 @@
docker_needed_repos:
- /etc/yum.repos.d/CentOS-Base.repo.disabled
- /etc/yum.repos.d/docker-ce.repo.disabled
- - /etc/yum.repos.d/own-repo.repo.disabled
-
-offline_repo_file: /etc/yum.repos.d/onap.repo \ No newline at end of file
+offline_repo_file: /etc/yum.repos.d/onap.repo
+rpm_dir: /root/rpm
+python2_docker_rpm: python2-docker-2.5.1-2.el7.noarch.rpm
+python2_docker_rpm_url: "https://cbs.centos.org/kojifiles/packages/python-docker/2.5.1/2.el7/noarch/{{ python2_docker_rpm }}"
+docker_ce_rpm: docker-ce-17.03.2.ce-1.el7.centos.x86_64
+docker_ce_selinux_rpm: docker-ce-selinux-17.03.3.ce-1.el7.noarch