ansible/lib/ansible
Jan Chaloupka 6e201948bc dnf module: package not installed with state=latest
dnf: name=PACKAGE state=latest is reponsible for two use cases:
- to install a package if not already installed.
- to update the package to the latest if already installed.

The latter use cases is not handled properly as base.upgrade does not
throw dnf.exceptions.MarkingError if a package is not installed.

Setting base.conf.best = True ensures a package is installed or
updated to the latest when calling base.install.

Sign-off: jsilhan@redhat.com
Sign-off: jchaloup@redhat.com
2016-12-08 11:33:49 -05:00
..
cli
compat
config
errors
executor
galaxy
inventory
module_utils
modules dnf module: package not installed with state=latest 2016-12-08 11:33:49 -05:00
parsing
playbook
plugins
template
utils
vars
__init__.py
constants.py
release.py
test-requirements.txt