Skip to content

Commit

Permalink
Update getmeza.sh
Browse files Browse the repository at this point in the history
1) Don't exclude "ansible" and "ansible core" from epel.repo
2) Don't install repo centos-release-ansible-29, and
3) Don't specify the version of ansible to install.
  • Loading branch information
ndc-rkevans authored and freephile committed Oct 23, 2024
1 parent 4810a1e commit 13820f1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/scripts/getmeza.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ if [ ! -f "/etc/yum.repos.d/epel.repo" ]; then


dnf module -y reset php
sed -i.meza -e 's;countme=1$;countme=1\nexclude = ansible ansible-core python38;g' /etc/yum.repos.d/epel.repo
echo "exclude = ansible ansible-core python38" >> /etc/yum.repos.d/Rocky-AppStream.repo
sed -i.meza -e 's;countme=1$;countme=1\nexclude = python38;g' /etc/yum.repos.d/epel.repo
echo "exclude = python38" >> /etc/yum.repos.d/Rocky-AppStream.repo
cp /etc/yum.repos.d/epel.repo ${INSTALL_DIR}/conf-meza/epel.repo-withexcludes
cp /etc/yum.repos.d/Rocky-AppStream.repo ${INSTALL_DIR}/conf-meza/Rocky-AppStream.repo
;;
Expand Down Expand Up @@ -139,10 +139,8 @@ case ${distro} in
;;

rocky)
# as of 2024-08 this repo is unavailable as Centos is not a thing
# dnf install -y centos-release-ansible-29
dnf install -y python36
dnf install -y git
dnf install -y git ansible
dnf install -y python3-libselinux
alternatives --set python /usr/bin/python3
;;
Expand Down

0 comments on commit 13820f1

Please sign in to comment.