1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
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
apt: name={{ item }} state=latest
with_items: mysql_packages