From b1e9dc82788d01dfe9df12a34c887dbaa5dce245 Mon Sep 17 00:00:00 2001 From: goldyfruit Date: Mon, 23 Dec 2024 09:09:56 -0500 Subject: [PATCH] [ansible] Bump Ansible version ans roles --- ansible/requirements.yml | 6 +++--- utils/common.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 1d6e4f5..b9dff91 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -1,11 +1,11 @@ --- collections: - name: ansible.posix - version: 1.5.4 + version: 2.0.0 - name: community.docker - version: 3.7.0 + version: 4.2.0 - name: community.general - version: 8.3.0 + version: 10.1.0 - name: kewlfft.aur version: 0.11.1 - name: moreati.uv diff --git a/utils/common.sh b/utils/common.sh index eae4955..b4f64df 100644 --- a/utils/common.sh +++ b/utils/common.sh @@ -304,9 +304,9 @@ function create_python_venv() { # collections will be installed under the /root/.ansible directory. function install_ansible() { echo -ne "➤ Installing Ansible requirements in Python virtualenv... " - ANSIBLE_VERSION="9.2.0" + ANSIBLE_VERSION="10.7.0" [ "$(ver "$PYTHON")" -lt "$(ver 3.10)" ] && ANSIBLE_VERSION="8.7.0" - $PIP_COMMAND install ansible=="$ANSIBLE_VERSION" docker==7.1.0 requests==2.31.0 &>>"$LOG_FILE" + $PIP_COMMAND install ansible=="$ANSIBLE_VERSION" docker==7.1.0 requests==2.32.3 &>>"$LOG_FILE" ansible-galaxy collection install -r ansible/requirements.yml &>>"$LOG_FILE" echo -e "[$done_format]" }