Skip to content

Commit

Permalink
Always use python3 during molecule testing
Browse files Browse the repository at this point in the history
Python2 went out of style more than a decade ago, and was "sunset"
over four years ago, 2020-01-01.

Sure CentOS might have some additional python2 support thanks to
RedHat, but you know what else it has? Python3. And with
epel-release, we get access to python3-PyMySQL, which allows us to
keep things simple.
  • Loading branch information
eb4x committed Mar 26, 2024
1 parent d7fa33f commit e69be04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ jobs:
- v60
include:
- interpreter: python3
- interpreter: python
container: centos7
exclude:
- container: debian12
version: v62
Expand Down
4 changes: 1 addition & 3 deletions molecule/zabbix_proxy/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ provisioner:
ANSIBLE_ROLES_PATH: $HOME/.ansible/collections/ansible_collections/community/zabbix/roles
inventory:
group_vars:
python3:
all:
ansible_python_interpreter: /usr/bin/python3
python:
ansible_python_interpreter: /usr/bin/python
v64:
zabbix_proxy_version: 6.4
v62:
Expand Down

0 comments on commit e69be04

Please sign in to comment.