From: Petr OspalĂ˝
Date: Mon, 25 Mar 2019 12:25:45 +0000 (+0100)
Subject: Add python-jsonpointer as a new dependency
X-Git-Tag: 6.0.0-ONAP~272
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=98ea82804e23245082f2a7b9363ea5b10300329a;p=oom%2Foffline-installer.git
Add python-jsonpointer as a new dependency
Our custom ansible module requires python-jsonpointer module
to deal with jsons.
Change-Id: Idd7bfcf8fcf75e4397fba51d8219b73c57df5f0e
Issue-ID: OOM-1758
Signed-off-by: Petr OspalĂ˝
---
diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml
index 16b7002f..de740df2 100644
--- a/ansible/roles/docker/tasks/main.yml
+++ b/ansible/roles/docker/tasks/main.yml
@@ -11,6 +11,11 @@
name: 'python2-docker'
state: present
+- name: Install python jsonpointer module
+ package:
+ name: 'python-jsonpointer'
+ state: present
+
- name: Ensure /etc/docker exists
file:
path: /etc/docker
diff --git a/build/creating_data/create-rhel-repo.sh b/build/creating_data/create-rhel-repo.sh
index 0a2a897e..ca5a5352 100755
--- a/build/creating_data/create-rhel-repo.sh
+++ b/build/creating_data/create-rhel-repo.sh
@@ -36,7 +36,7 @@ fi
# this exact docker version is required by ONAP/beijing
# it should be available in centos docker repo
-yumdownloader --resolve --destdir="${OUTDIR}" docker-ce-17.03.2.ce libtool-ltdl docker-ce-selinux nfs-utils
+yumdownloader --resolve --destdir="${OUTDIR}" docker-ce-17.03.2.ce libtool-ltdl docker-ce-selinux nfs-utils python-jsonpointer
wget https://cbs.centos.org/kojifiles/packages/python-docker/2.5.1/2.el7/noarch/python2-docker-2.5.1-2.el7.noarch.rpm -P "${OUTDIR}"