mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 16:04:09 -07:00
Make debug module always verbose in playbooks
Created a new flag 'verbose_always' handled by on_ok callback, similar to the 'verbose_override' flag used by the setup module.
This commit is contained in:
parent
1d3782cfc7
commit
94028852d9
2 changed files with 6 additions and 1 deletions
|
@ -46,4 +46,7 @@ class ActionModule(object):
|
|||
else:
|
||||
result = dict(msg=args['msg'])
|
||||
|
||||
# force flag to make debug output module always verbose
|
||||
result['verbose_always'] = True
|
||||
|
||||
return ReturnData(conn=conn, result=result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue