# YAML code to list yum repositories and yum history using yum module.?

**URL:** <https://forum.ansible.com/t/yaml-code-to-list-yum-repositories-and-yum-history-using-yum-module/26687>\
**Category:** Ansible Project\
**Created:** [February 8, 2018, 5:19pm UTC](https://forum.ansible.com/t/yaml-code-to-list-yum-repositories-and-yum-history-using-yum-module/26687 "2018-02-08T17:19:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohan\_Ganesan](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Mohan\_Ganesan](https://forum.ansible.com/u/Mohan_Ganesan)\
**Post date:** [February 8, 2018, 5:19pm UTC](https://forum.ansible.com/t/yaml-code-to-list-yum-repositories-and-yum-history-using-yum-module/26687/1 "2018-02-08T17:19:26Z")

</div>

I would like to explore yum module in my yaml code.  
I am looking for a YAML code to list yum repositories and yum history using yum module.

Are the commands yum repolist & yum history built on the yum module?  
Please let me know.  
Thanks.
