Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support recent Fedoras' dnf package manager #23

Merged
merged 1 commit into from Jun 23, 2016

Conversation

bpineau
Copy link
Contributor

@bpineau bpineau commented Apr 28, 2016

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.


This change is Reviewable

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.
@steenzout steenzout self-assigned this Apr 28, 2016
@steenzout steenzout added this to the v5.9.0 milestone Apr 28, 2016
@steenzout steenzout merged commit 5e40bc9 into ansiblebit:develop Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants