diff --git a/tasks/setup-Archlinux.yml b/tasks/setup-Archlinux.yml index f4b11b5..e785290 100644 --- a/tasks/setup-Archlinux.yml +++ b/tasks/setup-Archlinux.yml @@ -3,8 +3,7 @@ pacman: "name=mysql-python state=present" - name: Ensure MySQL packages are installed. - pacman: "name={{ item }} state=present" - with_items: "{{ mysql_packages }}" + pacman: "name={{ mysql_packages }} state=present" register: arch_mysql_install_packages - name: Run mysql_install_db if MySQL packages were changed. diff --git a/vars/Archlinux.yml b/vars/Archlinux.yml index 2dd3c47..fc16aa6 100644 --- a/vars/Archlinux.yml +++ b/vars/Archlinux.yml @@ -2,6 +2,7 @@ __mysql_daemon: mariadb __mysql_packages: - mariadb + - python-mysqlclient __mysql_slow_query_log_file: /var/log/mysql/mysql-slow.log __mysql_log_error: /var/log/mysql.err __mysql_syslog_tag: mysql