community.general/lib/ansible
Artem Bityutskiy b3ec97cd36 swupd: fail in case of an incorrect bundle (#45993)
For some strange reasons the 'swupd' module does not fail if I specify a
non-existing bundle like "xxx". This is inconsistent with other modules, for
example 'dnf'.

The end result is that if someone uses the 'package' module, the result is
inconsistent across OSes: for Fedora trying to install an non-existing module
fails, bot for Clear Linux it just prints a warning and succeeds.

This patch fixes the inconsistent behavior. With this patch 'swupd' will fail
if one tries to install a bundle that does not exist.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2018-10-26 09:13:03 +01:00
..
cli Fix from sivel for ansible-doc 2018-10-25 12:06:18 -07:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Add configuration to override location of ansible-connection (#46128) 2018-10-01 14:29:59 -04:00
errors Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
executor Don't use the task for a cache, return a special cache var (#47243) 2018-10-18 15:25:43 -05:00
galaxy ansible-galaxy: fix searching with unicode 2018-10-18 14:59:03 -04:00
inventory better information for user from inventory plugins (#46766) 2018-10-12 11:27:29 -04:00
module_utils VMware: Avoid misleading PyVmomi error if requests import fails (#47313) 2018-10-26 12:40:25 +05:30
modules swupd: fail in case of an incorrect bundle (#45993) 2018-10-26 09:13:03 +01:00
parsing An earlier optimization of ansible-doc -l caused failures. (#47012) 2018-10-17 11:15:59 -04:00
playbook Ensure we don't overwrite roles from include/import_role when loading the play (#47512) 2018-10-23 11:08:48 -05:00
plugins enhance recv calls in network_cli (#47345) 2018-10-26 09:49:17 +05:30
template Do not strip new lines in native jinja (#46751) 2018-10-19 00:14:43 +02:00
utils modules: network: Add initial support for Ingate modules (#47494) 2018-10-26 09:47:58 +05:30
vars Don't use the task for a cache, return a special cache var (#47243) 2018-10-18 15:25:43 -05:00
__init__.py
constants.py Fix from sivel for ansible-doc 2018-10-25 12:06:18 -07:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00