mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Improve debug logging some more.
This commit is contained in:
parent
89c5cddda1
commit
3ac32cf365
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ def package_latest(name, installed_state, pkg_spec, module):
|
||||||
module.debug("package_latest(): checking for pre-upgrade package name: %s" % installed_name)
|
module.debug("package_latest(): checking for pre-upgrade package name: %s" % installed_name)
|
||||||
match = re.search("\W%s->.+: ok\W" % installed_name, stdout)
|
match = re.search("\W%s->.+: ok\W" % installed_name, stdout)
|
||||||
if match:
|
if match:
|
||||||
module.debug("package_latest(): package name match: %s" % installed_name)
|
module.debug("package_latest(): pre-upgrade package name match: %s" % installed_name)
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
module.exit_json(changed=True)
|
module.exit_json(changed=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue