We cannot leave empty lists elements.

This commit is contained in:
Andrea Dell'Amico 2024-12-11 17:42:40 +01:00
parent 24b2e0e273
commit 5a0ae87d7e
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 2 deletions

View File

@ -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 %}"