# Parsing table

**URL:** <https://forum.ansible.com/t/parsing-table/25010>\
**Category:** Ansible Project\
**Created:** [July 18, 2017, 8:32am UTC](https://forum.ansible.com/t/parsing-table/25010 "2017-07-18T08:32:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vedran\_Mikac](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@Vedran\_Mikac](https://forum.ansible.com/u/Vedran_Mikac)\
**Post date:** [July 18, 2017, 8:32am UTC](https://forum.ansible.com/t/parsing-table/25010/1 "2017-07-18T08:32:16Z")

</div>

Hello!

How can I parse ID from the table below using ansible? Command listObservers is being run in CLI from proprietary tool, and I cannot grep / awk / cut / tail / head output.

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [July 19, 2017, 10:26am UTC](https://forum.ansible.com/t/parsing-table/25010/2 "2017-07-19T10:26:41Z")

</div>

Fragile, but working:

vars:  
listObservers: |
