fix for issue #77

pull/78/head
jp1995 2023-07-07 18:15:52 +03:00
parent 9b25b11cea
commit 63d3056a82
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ def install_packages(module, packages, use, extra_args, state, skip_pgp_check, i
command.append(package)
rc, out, err = module.run_command(command, check_rc=True)
changed_iter = changed_iter or not (out == '' or '-- skipping' in out or 'nothing to do' in out.lower())
changed_iter = changed_iter or not (out == '' or 'up-to-date -- skipping' in out or 'nothing to do' in out.lower())
message = 'installed package(s)' if changed_iter else 'package(s) already installed'