Commit 1f02eed
committed
Support recent Fedoras' dnf package manager
Dnf replaced Yum (keeping the same cli interface though) for some time on
Fedora.
Likewise, the ansible RPM provided in Fedora (23+) doesn't include the "yum"
Ansible module, so we must use the "dnf" module there (which, thanksfully,
has the same arguments as the "yum" module).
Let's use
action: "{{ ansible_pkg_mgr }} [...]"
on RPM based distributions, to maintain compatibility with both yum and dnf.1 parent f86d4a6 commit 1f02eed
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
0 commit comments