From 0358e0b5817896f2a5dd59b595303fedc0ef95cc Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Sat, 16 Mar 2024 01:31:06 +0100 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1715444..349905f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # INSTALLATION ANSIBLE DIRECT SUR LA MACHINE ```bash -dnf install -y oracle-epel-release-el8 +linux_version=$(cat /etc/os-release | egrep "^PLATFORM_ID=" | cut -d= -f2 | sed 's/"//g' | cut -d: -f2) +dnf install -y oracle-epel-release-${linux_version} dnf install -y git ansible dnf install -y python3-libselinux ```