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 <achilleas@koutsou.net>
This commit is contained in:
parent
829ae87241
commit
ab5d560b1c
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue