summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr OspalĂ˝ <p.ospaly@partner.samsung.com>2019-03-25 13:25:45 +0100
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-03-26 15:02:50 +0000
commit98ea82804e23245082f2a7b9363ea5b10300329a (patch)
tree534634bbdf713a70211c0390bc0e80e4881d554d
parent47171a8dc441ae9526b74d210b88751cb7842c79 (diff)
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Ă˝ <p.ospaly@partner.samsung.com>
-rw-r--r--ansible/roles/docker/tasks/main.yml5
-rwxr-xr-xbuild/creating_data/create-rhel-repo.sh2
2 files changed, 6 insertions, 1 deletions
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}"