From f624077d8d12625438010c88fedef7c1061cf5bf Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Sat, 7 Sep 2024 11:26:26 +0300 Subject: [PATCH] Periodic updates --- init-packages | 3 +++ init.sh | 3 +++ install-ansible.sh | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 init-packages create mode 100644 init.sh create mode 100755 install-ansible.sh diff --git a/init-packages b/init-packages new file mode 100644 index 0000000..36b9480 --- /dev/null +++ b/init-packages @@ -0,0 +1,3 @@ +wget +curl +git diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..44a9677 --- /dev/null +++ b/init.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +dnf install -y $( cat init-packages ) diff --git a/install-ansible.sh b/install-ansible.sh new file mode 100755 index 0000000..8c242f4 --- /dev/null +++ b/install-ansible.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +dnf install -y python3.12 python3.12-devel python3.12-pip + +update-alternatives --set python3 /usr/bin/python3.12 + +python3 -m pip install --upgrade pip + +python3 -m pip install --upgrade ansible