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:
parent
8716bf8021
commit
fffd29d1ab
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue