# Playbook full path variable

**URL:** <https://forum.ansible.com/t/playbook-full-path-variable/12338>\
**Category:** Ansible Project\
**Created:** [February 11, 2013, 12:47pm UTC](https://forum.ansible.com/t/playbook-full-path-variable/12338 "2013-02-11T12:47:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ernest0x](https://avatars.discourse-cdn.com/v4/letter/e/ed655f/32.png) [@Ernest0x](https://forum.ansible.com/u/Ernest0x)\
**Post date:** [February 11, 2013, 12:47pm UTC](https://forum.ansible.com/t/playbook-full-path-variable/12338/1 "2013-02-11T12:47:58Z")

</div>

Hello,

Well, this must be really simple, but I cannot find an answer...

How can I get the full path of the playbook that is being deployed (I  
mean getting this value inside that playbook)?  
Is there any variable (in facts maybe?) that holds the full path to the  
current playbook file?

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 11, 2013, 1:13pm UTC](https://forum.ansible.com/t/playbook-full-path-variable/12338/2 "2013-02-11T13:13:03Z")

</div>

There isn't.

This has been discussed before and I would gladly take a patch to add this.

---

<div class="post-metadata">

**Author:** ![Ernest0x](https://avatars.discourse-cdn.com/v4/letter/e/ed655f/32.png) [@Ernest0x](https://forum.ansible.com/u/Ernest0x)\
**Post date:** [February 11, 2013, 5:16pm UTC](https://forum.ansible.com/t/playbook-full-path-variable/12338/3 "2013-02-11T17:16:35Z")

</div>

Hmm... what is the most appropriate place to add this?
