This is a temporary hack until we have time to properly test
changing include to include_tasks, required by ansible 9 (include
has been deprecated for some time, and now it's officially gone)
Signed-off-by: Dan Mick <dmick@redhat.com>
set -ex
# the following two methods exist in scripts/build_utils.sh
-pkgs=( "ansible" )
+pkgs=( "ansible<9.0" )
TEMPVENV=$(create_venv_dir)
VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"
echo "Assuming tagging process has succeeded before because TAG was set to false"
else
# the following two methods exist in scripts/build_utils.sh
- pkgs=( "ansible" )
+ pkgs=( "ansible<9.0" )
TEMPVENV=$(create_venv_dir)
VENV=${TEMPVENV}/bin
install_python_packages $TEMPVENV "pkgs[@]"