# malformed output when we have variables in the command line-cisco ASA device

**URL:** <https://forum.ansible.com/t/malformed-output-when-we-have-variables-in-the-command-line-cisco-asa-device/29533>\
**Category:** Ansible Project\
**Created:** [January 25, 2019, 8:16pm UTC](https://forum.ansible.com/t/malformed-output-when-we-have-variables-in-the-command-line-cisco-asa-device/29533 "2019-01-25T20:16:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahar](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@Sahar](https://forum.ansible.com/u/Sahar)\
**Post date:** [January 25, 2019, 8:16pm UTC](https://forum.ansible.com/t/malformed-output-when-we-have-variables-in-the-command-line-cisco-asa-device/29533/1 "2019-01-25T20:16:32Z")

</div>

I’m running the following commands, the output is malformed, May I know how I can fix it?

- name: Checking DNS Parameters  
asa\_command:  
commands:

- ‘show run policy-map type inspect dns “{{ policy\_map }}” | i maximum’  
register: output

- name: show DNS Parameters  
debug: var=output.stdout\_lines

TASK [show DNS Parameters] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [Fw4Script] =\> {  
“output.stdout\_lines”: [  
[  
“show run policy-map type inspect dns "preset\_spect dns "preset\_d s\_map" show run policy-map type inspect dns "preset$”,  
“!”,  
“policy-map type inspect dns preset\_dns\_map”,  
" parameters",  
" message-length maximum client auto",  
" message-length maximum 1024",  
“!”  
]  
]
