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
This commit is contained in:
Werner Dijkerman
2024-11-25 14:51:20 +01:00
committed by GitHub
parent 29fb3ea5e0
commit 570f81a779
3 changed files with 13 additions and 14 deletions

View File

@ -22,7 +22,7 @@ on:
- '.github/workflows/telegraf.yml' - '.github/workflows/telegraf.yml'
jobs: jobs:
molecule: molecule:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -37,8 +37,6 @@ jobs:
image: geerlingguy/docker-ubuntu2004-ansible:latest image: geerlingguy/docker-ubuntu2004-ansible:latest
- container: ubuntu1804 - container: ubuntu1804
image: geerlingguy/docker-ubuntu1804-ansible:latest image: geerlingguy/docker-ubuntu1804-ansible:latest
- container: debian9
image: geerlingguy/docker-debian9-ansible:latest
- container: debian10 - container: debian10
image: geerlingguy/docker-debian10-ansible:latest image: geerlingguy/docker-debian10-ansible:latest
- container: debian11 - container: debian11
@ -47,10 +45,10 @@ jobs:
- name: Check out code - name: Check out code
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Set up Python 3.9 - name: Set up Python 3.11
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: 3.9 python-version: 3.11.10
- name: Install dependencies - name: Install dependencies
run: | run: |

View File

@ -2,7 +2,7 @@
telegraf_enabled: True telegraf_enabled: True
# defaults file for ansible-telegraf # defaults file for ansible-telegraf
telegraf_agent_version: 1.18.2 telegraf_agent_version: 1.32.3
telegraf_agent_version_patch: 1 telegraf_agent_version_patch: 1
telegraf_agent_package: telegraf telegraf_agent_package: telegraf
telegraf_agent_package_file_deb: telegraf_{{ telegraf_agent_version }}-{{ telegraf_agent_version_patch }}_{{ telegraf_agent_package_arch }}.deb telegraf_agent_package_file_deb: telegraf_{{ telegraf_agent_version }}-{{ telegraf_agent_version_patch }}_{{ telegraf_agent_package_arch }}.deb

View File

@ -1,10 +1,11 @@
ansible==8.5.0 ansible==9.7.0
ansible-compat==4.1.7 ansible-compat==24.10.0
ansible-core==2.17.6 ansible-core==2.16.8
docker==6.1.3 docker==7.1.0
molecule==6.0.1 molecule==6.0.3
molecule-docker==2.1.0 molecule-docker==2.1.0
netaddr==0.8.0 molecule-plugins==23.5.3
pytest==7.4.2 netaddr==1.3.0
pytest-testinfra==9.0.0 pytest==8.3.3
pytest-testinfra==10.1.1
testinfra==6.0.0 testinfra==6.0.0