Member-only story
Failed installation of Ansible in Amazon Linux 2022 Preview (AWS EC2)
Failed installation of Ansible in Amazon Linux 2022 Preview (AWS EC2) using the internal and the EPEL (Extra Packages for Enterprise Linux) repositories. I opened a Package Request report.
6 min readDec 5, 2021
How to install Ansible in Amazon Linux version 2022 Preview?
Today I’m trying to install Ansible in the newest Amazon Linux 2022 Preview.
Spoiler alert: it didn’t go well!
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
Links
- https://aws.amazon.com/it/linux/amazon-linux-2022/
- https://aws.amazon.com/it/linux/amazon-linux-2022/faqs/
- https://github.com/amazonlinux/amazon-linux-2022/issues/57
demo
Let’s jump in a quick live demo of how I tried to install the latest of Ansible in Amazon Linux 2022 Preview.
- Install-Ansible-Amazon Linux2022.sh
#!/bin/bash
$ sudo yum update -y
$ sudo yum install ansible
$ ansible --version