# Specifying the ephemeral directory path in Molecule

**URL:** <https://forum.ansible.com/t/specifying-the-ephemeral-directory-path-in-molecule/4435>\
**Category:** Get Help\
**Tags:** molecule\
**Created:** [March 18, 2024, 6:37pm UTC](https://forum.ansible.com/t/specifying-the-ephemeral-directory-path-in-molecule/4435 "2024-03-18T18:37:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnfrancis](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/cnfrancis/32/2615_2.png) [@cnfrancis](https://forum.ansible.com/u/cnfrancis)\
**Post date:** [March 18, 2024, 6:37pm UTC](https://forum.ansible.com/t/specifying-the-ephemeral-directory-path-in-molecule/4435/1 "2024-03-18T18:37:37Z")

</div>

hello folks, has anyone figured how to specify the path of the ephemeral directory in molecule? Instead of having it save the state in the user’s home $HOME/.cache I need to store inside the scenario’s folder or at least at project’s root.

---

<div class="post-metadata">

**Author:** ![cnfrancis](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/cnfrancis/32/2615_2.png) [@cnfrancis](https://forum.ansible.com/u/cnfrancis)\
**Post date:** [June 28, 2024, 4:41pm UTC](https://forum.ansible.com/t/specifying-the-ephemeral-directory-path-in-molecule/4435/3 "2024-06-28T16:41:22Z")

</div>

hello thank you Petr, I ended specifying the MOLECULE\_EPHEMERAL\_DIRECTORY
