mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Update mysql setup to handle installing mysql with dnf too.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user