Skip to content

Commit

Permalink
removing python 3.9 install step, since 3.9 is on RHEL9 by default
Browse files Browse the repository at this point in the history
Signed-off-by: wdower <will@dower.dev>
  • Loading branch information
wdower committed Apr 9, 2024
1 parent 86b5981 commit 1be65f8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kitchen.ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ lifecycle:
echo "+++ Installing needed packages for workflow and utility +++\n\n"
sudo dnf -y install --nogpgcheck bc bind-utils redhat-lsb-core vim git wget gcc openssl-devel libffi-devel bzip2-devel
echo ""
echo "+++ Installing Python 3.9 and Ansible +++\n\n"
export PATH=/usr/local/bin:$PATH
sudo dnf -y install python3.9
sudo dnf -y install python3-pip
sudo update-alternatives --set python3 /usr/bin/python3.9
echo "+++ Installing pip dependencies for Ansible +++\n\n"
sudo python3 -m pip install ansible jmespath
echo ""
echo "+++ Updating the ec2-user to keep sudo working after hardening phase +++\n\n"
Expand Down

0 comments on commit 1be65f8

Please sign in to comment.