--- mariadb-install-pkgs: pkg.installed: - pkgs: - libmariadb-dev #- libmariadbclient18 - mariadb-client - mariadb-backup - mariadb-server {%- for pkg in ['mysqlclient'] %} mariadb-install-pip-pkgs: pip.installed: - name: {{ pkg }} {%- endfor %}