Update mysql setup to handle installing mysql with dnf too.

This commit is contained in:
Toshio Kuratomi 2015-12-16 14:06:11 -08:00
parent 8716bf8021
commit fffd29d1ab

View file

@ -31,6 +31,11 @@
with_items: mysql_packages with_items: mysql_packages
when: ansible_pkg_mgr == 'yum' when: ansible_pkg_mgr == 'yum'
- name: install mysqldb_test rpm dependencies
dnf: name={{ item }} state=latest
with_items: mysql_packages
when: ansible_pkg_mgr == 'dnf'
- name: install mysqldb_test debian dependencies - name: install mysqldb_test debian dependencies
apt: name={{ item }} state=latest apt: name={{ item }} state=latest
with_items: mysql_packages with_items: mysql_packages