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
|
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
|
||||||
|
|
Loading…
Reference in a new issue