added helper output

pull/1/head
alex 2017-12-24 09:22:13 +01:00
parent dff9e5358b
commit 7a9ca39341
1 changed files with 2 additions and 0 deletions

2
aur.py
View File

@ -21,6 +21,7 @@ def upgrade(module, use):
module.exit_json( module.exit_json(
changed=not (out == '' or 'there is nothing to do' in out or 'No AUR updates found' in out), changed=not (out == '' or 'there is nothing to do' in out or 'No AUR updates found' in out),
msg='upgraded system', msg='upgraded system',
helper_used=use,
) )
@ -37,6 +38,7 @@ def install_packages(module, packages, use):
module.exit_json( module.exit_json(
changed=changed_iter, changed=changed_iter,
msg='installed package', msg='installed package',
helper_used=use,
) )