Drop python2 support

This commit is contained in:
Faustin Lammler 2022-09-07 10:42:50 +02:00
parent ccc50d76a3
commit acb31fb98c
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
1 changed files with 1 additions and 5 deletions

View File

@ -28,11 +28,7 @@
state: present
update_cache: true
- name: Determine required MariaDB Python libraries
ansible.builtin.set_fact:
deb_mariadb_python_package: "{% if 'python3' in discovered_interpreter_python | default('') %}python3-pymysql{% else %}python-pymysql{% endif %}"
- name: Install python mariadb driver
ansible.builtin.apt:
name: "{{ deb_mariadb_python_package }}"
name: python3-pymysql
state: present