From ab5d560b1c02e79166b377c344a78e9f89c91901 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Mon, 20 Sep 2021 11:56:39 +0200 Subject: [PATCH] tools/provision: install community.general ansible collection Required for the `json_query` which we use in our playbooks. Also requires python3-jmespath. Signed-off-by: Achilleas Koutsou --- tools/provision.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/provision.sh b/tools/provision.sh index ec4bb8021..25badacc8 100755 --- a/tools/provision.sh +++ b/tools/provision.sh @@ -20,7 +20,12 @@ elif [[ $ID == rhel || $ID == centos ]] && [[ ${VERSION_ID%.*} == 9 ]]; then sudo dnf install -y ./redhat-internal-cert-install-0.1-23.el7.csb.noarch.rpm dnf-plugins-core sudo dnf copr enable -y copr.devel.redhat.com/osbuild-team/epel-el9 "rhel-9.dev-$ARCH" # koji is not available yet apparently - sudo dnf install -y ansible + # jmespath required for json_query + sudo dnf install -y ansible python3-jmespath + + # json_query filter, used in our ansible playbooks, was moved to the + # 'community.general' collection + sudo ansible-galaxy collection install community.general fi sudo mkdir -p /etc/osbuild-composer