# Ansible module yum module

**URL:** <https://forum.ansible.com/t/ansible-module-yum-module/29551>\
**Category:** Ansible Project\
**Created:** [January 28, 2019, 6:15pm UTC](https://forum.ansible.com/t/ansible-module-yum-module/29551 "2019-01-28T18:15:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anand\_Vamsi](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Anand\_Vamsi](https://forum.ansible.com/u/Anand_Vamsi)\
**Post date:** [January 28, 2019, 6:15pm UTC](https://forum.ansible.com/t/ansible-module-yum-module/29551/1 "2019-01-28T18:15:57Z")

</div>

Ansible Team-

I’m in situation where i need to remove a package without removing the dependencies using yum module for centos/redhat.  
I don’t see any option in Ansible yum reference page which exclude deps.

Only option i see is  
shell: rpm -e --nodeps

Is it possible attain this using yum module.

Appreciate a ahelp.

Thanks  
Anand vamsi.
