# suggest me the steps for clearing the hadoop YARN Cache using Ansible

**URL:** <https://forum.ansible.com/t/suggest-me-the-steps-for-clearing-the-hadoop-yarn-cache-using-ansible/25286>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [August 17, 2017, 11:07pm UTC](https://forum.ansible.com/t/suggest-me-the-steps-for-clearing-the-hadoop-yarn-cache-using-ansible/25286 "2017-08-17T23:07:22Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [August 17, 2017, 11:07pm UTC](https://forum.ansible.com/t/suggest-me-the-steps-for-clearing-the-hadoop-yarn-cache-using-ansible/25286/1 "2017-08-17T23:07:22Z")

</div>

Hi

Suggestion is to use the service module for step 1 and 4. Find the documentation here: [http://docs.ansible.com/ansible/latest/service\_module.html](http://docs.ansible.com/ansible/latest/service_module.html) Other steps just the find module or even command module.

Dick
