From 570f81a779d45eaed5c3a0a88b3ab86a1e6a557a Mon Sep 17 00:00:00 2001 From: Werner Dijkerman Date: Mon, 25 Nov 2024 14:51:20 +0100 Subject: [PATCH] Updating the Python packages to make Molecule work (#190) * Updating the Python packages to make Molecule work * Triggering jobs with updating Telegraf version * Changing Ansible version * Changing github ci version * Changing Python version version * Removal of Debian9 --- .github/workflows/telegraf.yml | 8 +++----- defaults/main.yml | 2 +- requirements.txt | 17 +++++++++-------- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/telegraf.yml b/.github/workflows/telegraf.yml index 90ee427..1c47be2 100644 --- a/.github/workflows/telegraf.yml +++ b/.github/workflows/telegraf.yml @@ -22,7 +22,7 @@ on: - '.github/workflows/telegraf.yml' jobs: molecule: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -37,8 +37,6 @@ jobs: image: geerlingguy/docker-ubuntu2004-ansible:latest - container: ubuntu1804 image: geerlingguy/docker-ubuntu1804-ansible:latest - - container: debian9 - image: geerlingguy/docker-debian9-ansible:latest - container: debian10 image: geerlingguy/docker-debian10-ansible:latest - container: debian11 @@ -47,10 +45,10 @@ jobs: - name: Check out code uses: actions/checkout@v1 - - name: Set up Python 3.9 + - name: Set up Python 3.11 uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: 3.11.10 - name: Install dependencies run: | diff --git a/defaults/main.yml b/defaults/main.yml index 65d0253..f88b9fe 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,7 +2,7 @@ telegraf_enabled: True # defaults file for ansible-telegraf -telegraf_agent_version: 1.18.2 +telegraf_agent_version: 1.32.3 telegraf_agent_version_patch: 1 telegraf_agent_package: telegraf telegraf_agent_package_file_deb: telegraf_{{ telegraf_agent_version }}-{{ telegraf_agent_version_patch }}_{{ telegraf_agent_package_arch }}.deb diff --git a/requirements.txt b/requirements.txt index f4e8794..7e87146 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,11 @@ -ansible==8.5.0 -ansible-compat==4.1.7 -ansible-core==2.17.6 -docker==6.1.3 -molecule==6.0.1 +ansible==9.7.0 +ansible-compat==24.10.0 +ansible-core==2.16.8 +docker==7.1.0 +molecule==6.0.3 molecule-docker==2.1.0 -netaddr==0.8.0 -pytest==7.4.2 -pytest-testinfra==9.0.0 +molecule-plugins==23.5.3 +netaddr==1.3.0 +pytest==8.3.3 +pytest-testinfra==10.1.1 testinfra==6.0.0