minor: Update supported Ansible versions

Ansible versions 2.11 and older are not supportable on new platforms.
Set the minimum supported Ansible version to 2.12 in order to make
updating our integration testing possible.
* Fixup minor linting issues.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ 2024-08-19 18:36:05 +02:00
parent f25e58b73b
commit 2560d04202
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1
54 changed files with 45 additions and 80 deletions

View file

@ -17,12 +17,6 @@ platforms:
privileged: true
cgroup_parent: docker.slice
command: /lib/systemd/systemd
- name: centos-7
image: dokken/centos-7
pre_build_image: true
privileged: true
cgroup_parent: docker.slice
command: /usr/lib/systemd/systemd
- name: centos-stream-9
image: dokken/centos-stream-9
pre_build_image: true

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
This module provides functions for parsing PEP 440 compliant

View file

@ -1,2 +1,2 @@
---
requires_ansible: ">=2.9.0,<=2.16.99"
requires_ansible: ">=2.12.0,<=2.16.99"

View file

@ -8,7 +8,7 @@ Deploy and manage Prometheus [alertmanager](https://github.com/prometheus/alertm
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
It would be nice to have prometheus installed somewhere

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Alertmanager service"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -7,7 +7,7 @@ Deploy prometheus [bind exporter](https://github.com/prometheus-community/bind_e
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus BIND Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy and manage [blackbox exporter](https://github.com/prometheus/blackbox_exp
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
## Role Variables

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Blackbox Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy [cadvisor](https://github.com/google/cadvisor) using ansible.
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "cAdvisor Authors"
description: "cAdvisor"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [chrony_exporter](https://github.com/superq/chrony_exporter) u
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Chrony Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [fail2ban_exporter](https://gitlab.com/hectorjsmith/fail2ban-p
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus fail2ban_exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [ipmi_exporter](https://github.com/prometheus-community/ipmi_e
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus ipmi_exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [memcached_exporter](https://github.com/prometheus/memcached_e
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus memcached_exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [mongodb_exporter](https://github.com/percona/mongodb_exporter
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus mongodb_exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -7,7 +7,7 @@ Deploy prometheus [mysql exporter](https://github.com/prometheus/mysqld_exporter
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus MySQLd Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [nginx_exporter](https://github.com/nginxinc/nginx-prometheus-
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus nginx_exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [node exporter](https://github.com/prometheus/node_exporter) u
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Node Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -7,7 +7,7 @@ Deploy prometheus [postgresql exporter](https://github.com/prometheus-community/
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus PostgreSQL Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Note. This repository and role uses the name process_exporter to conform with an
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
## Role Variables

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Process Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy [Prometheus](https://github.com/prometheus/prometheus) monitoring system
## Requirements
- Ansible >= "2.9" (It might work on previous versions, but we cannot guarantee it)
- Ansible >= "2.12" (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
## Role Variables

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus monitoring system configuration and management"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [pushgateway](https://github.com/prometheus/pushgateway) using
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Pushgateway"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [redis_exporter](https://github.com/oliver006/redis_exporter/)
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
## Role Variables

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus redis_exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [smartctl_exporter](https://github.com/prometheus-community/sm
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Smartctl Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -6,7 +6,7 @@ Deploy prometheus [smokeping_prober](https://github.com/superq/smokeping_prober)
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Smokeping Prober"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy and manage prometheus [SNMP exporter](https://github.com/prometheus/snmp_
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
## Role Variables

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus SNMP Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -15,7 +15,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -8,7 +8,7 @@ Deploy prometheus [systemd exporter](https://github.com/prometheus-community/sys
## Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
- Ansible >= 2.12 (It might work on previous versions, but we cannot guarantee it)
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
## Role Variables

View file

@ -3,7 +3,7 @@ galaxy_info:
author: "Prometheus Community"
description: "Prometheus Systemd Exporter"
license: "Apache"
min_ansible_version: "2.9"
min_ansible_version: "2.12"
platforms:
- name: "Ubuntu"
versions:
@ -16,7 +16,6 @@ galaxy_info:
- "buster"
- name: "EL"
versions:
- "7"
- "8"
- "9"
- name: "Fedora"

View file

@ -51,5 +51,5 @@ unset _ANSIBLE_COVERAGE_CONFIG
unset ANSIBLE_PYTHON_INTERPRETER
# Run molecule test
cd "$role_root"
cd "${role_root}" || exit 1
molecule -c "$collection_root/.config/molecule/config.yml" test -s "$scenario"

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346

View file

@ -1 +0,0 @@
.github/scripts/collection_version_parser.py shebang # https://github.com/ansible/ansible/issues/78346