mirror of
https://github.com/kewlfft/ansible-aur.git
synced 2025-09-17 00:20:38 +03:00
added helper output
This commit is contained in:
2
aur.py
2
aur.py
@@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user