I'd like to get the standard Ansible output on my terminal, but get JSON
output to a log file. Is there a way to do that? Setting stdout_callback
to 'json' seems to give me JSON on stdout and nothing in the log file,
which is almost the exact opposite of what I want... Adding --opposite-day
to the command line didn't seem to help. Can this be done?
-Josh (jbs@care.com)
(apologies for the automatic corporate disclaimer that follows)
This email is intended for the person(s) to whom it is addressed and may contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, distribution, copying, or disclosure by any person other than the addressee(s) is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email and delete the message and any attachments from your system.