python 3 packages on Ubuntu >= 20.04
This commit is contained in:
parent
4f581832ce
commit
732317cef1
|
@ -17,9 +17,9 @@ mysql_packages_list:
|
|||
- mysql-server
|
||||
- mysql-client
|
||||
- mytop
|
||||
- python-mysqldb
|
||||
- python-pymysql
|
||||
- python-mysql.connector
|
||||
- "{% if ansible_distribution_version is version_compare('20.04', '>=') %}python3-mysqldb{% else %}python-mysqldb{% endif %}"
|
||||
- "{% if ansible_distribution_version is version_compare('20.04', '>=') %}python3-pymysql{% else %}python-pymysql{% endif %}"
|
||||
- "{% if ansible_distribution_version is version_compare('20.04', '>=') %}python3-mysql.connector{% else %}python-mysql.connector{% endif %}"
|
||||
|
||||
mysql_db_name: db_name
|
||||
mysql_db_user: db_user
|
||||
|
|
Loading…
Reference in New Issue