# parsing RAW output

**URL:** <https://forum.ansible.com/t/parsing-raw-output/31764>\
**Category:** Ansible Project\
**Created:** [December 4, 2019, 10:05pm UTC](https://forum.ansible.com/t/parsing-raw-output/31764 "2019-12-04T22:05:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ansible\_USer2019](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Ansible\_USer2019](https://forum.ansible.com/u/Ansible_USer2019)\
**Post date:** [December 4, 2019, 10:05pm UTC](https://forum.ansible.com/t/parsing-raw-output/31764/1 "2019-12-04T22:05:17Z")

</div>

Hi,

how would it be possible to parse the RAW output and save it into variables?  
Currently i only can get one result string as output.

So plan is:  
-\>parse that string into different variables instead of one and output it as JSON (like parse\_genie is doing it).

Background i want to automate some firewalls but it is not possible since they do not support python nor they have an API.  
Just a regular SSH with predefined commands is possible.

Thank you
