diff --git a/defaults/main.yml b/defaults/main.yml index 547a6a2..c522871 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -16,8 +16,7 @@ mysql_letsencrypt_certificates: True mysql_packages_list: - mysql-server - mysql-client - - "{% if ansible_distribution_version is version_compare('24.04', '<') %}mytop{% else %}{% endif %}" - - "{% if ansible_distribution_version is version_compare('24.04', '>=') %}mycli{% else %}{% endif %}" + - "{% if ansible_distribution_version is version_compare('24.04', '<') %}mytop{% else %}mycli{% endif %}" - "{% 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 %}"