From 98ea82804e23245082f2a7b9363ea5b10300329a Mon Sep 17 00:00:00 2001 From: Petr OspalĂ˝ Date: Mon, 25 Mar 2019 13:25:45 +0100 Subject: Add python-jsonpointer as a new dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our custom ansible module requires python-jsonpointer module to deal with jsons. Change-Id: Idd7bfcf8fcf75e4397fba51d8219b73c57df5f0e Issue-ID: OOM-1758 Signed-off-by: Petr OspalĂ˝ --- ansible/roles/docker/tasks/main.yml | 5 +++++ build/creating_data/create-rhel-repo.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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}" -- cgit 1.2.3-korg