Ubuntu 20.04 Support

This commit is contained in:
Mike Reeves
2021-09-20 17:24:47 -04:00
parent 3924b8f5db
commit 50b78681f2
6 changed files with 30 additions and 4 deletions

View File

@@ -22,7 +22,11 @@ mysqlpkgs:
- skip_suggestions: False
- pkgs:
{% if grains['os'] != 'CentOS' %}
- python-mysqldb
{% if grains['codename'] == 'bionic' %}
- python3-mysqldb
{% elif grains['codename'] == 'focal' %}
- python3-mysqldb
{% endif %}
{% else %}
- MySQL-python
{% endif %}