The following command is used to keep verbose output but hide the sensitive information from others who would like to be able to see the output.
- name: secrete task
shell: /user/bin/do_somthing -value={{secrete value}}
no_log: True
Also, the no_log attribute can apply to an entire play.
- hosts: all
no_log: True