# get context extra vars before 2.8

**URL:** <https://forum.ansible.com/t/get-context-extra-vars-before-2-8/32117>\
**Category:** Ansible Project\
**Created:** [February 1, 2020, 7:33pm UTC](https://forum.ansible.com/t/get-context-extra-vars-before-2-8/32117 "2020-02-01T19:33:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FERREIRA\_CHRISTOPHE](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@FERREIRA\_CHRISTOPHE](https://forum.ansible.com/u/FERREIRA_CHRISTOPHE)\
**Post date:** [February 1, 2020, 7:33pm UTC](https://forum.ansible.com/t/get-context-extra-vars-before-2-8/32117/1 "2020-02-01T19:33:26Z")

</div>

Hello

it’s possible to get extra\_vars on the context of host before 2.8 in python ?

In 2.8 load\_extra\_vars is work

---

<div class="post-metadata">

**Author:** ![elavarde](https://avatars.discourse-cdn.com/v4/letter/e/c2a13f/32.png) [@elavarde](https://forum.ansible.com/u/elavarde)\
**Post date:** [February 3, 2020, 12:57pm UTC](https://forum.ansible.com/t/get-context-extra-vars-before-2-8/32117/2 "2020-02-03T12:57:48Z")

</div>

Hi,

---

<div class="post-metadata">

**Author:** ![FERREIRA\_CHRISTOPHE](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@FERREIRA\_CHRISTOPHE](https://forum.ansible.com/u/FERREIRA_CHRISTOPHE)\
**Post date:** [February 4, 2020, 11:32am UTC](https://forum.ansible.com/t/get-context-extra-vars-before-2-8/32117/3 "2020-02-04T11:32:23Z")

</div>

Hi i would like capture only extra vars ,in custom plugin before 2.8
