mariadb_server: dnf -> package, with_item changes
This commit is contained in:
parent
b146286ce2
commit
f40b0f0c30
1 changed files with 6 additions and 4 deletions
|
@ -1,13 +1,15 @@
|
|||
- name: ensure packages required for mariadb are installed
|
||||
package: name={{ item }} state=present
|
||||
with_items:
|
||||
package:
|
||||
state: present
|
||||
name:
|
||||
- mariadb-server
|
||||
- MySQL-python
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: ensure packages required for mariadb are installed
|
||||
dnf: name={{ item }} state=present
|
||||
with_items:
|
||||
package:
|
||||
state: present
|
||||
name:
|
||||
- mariadb-server
|
||||
- MySQL-python
|
||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue