# Migration to Ansible 2.0: problem with changed (internal) APIs: utils.load\_vars missing

**URL:** <https://forum.ansible.com/t/migration-to-ansible-2-0-problem-with-changed-internal-apis-utils-load-vars-missing/21698>\
**Category:** Ansible Project\
**Created:** [June 8, 2016, 2:24pm UTC](https://forum.ansible.com/t/migration-to-ansible-2-0-problem-with-changed-internal-apis-utils-load-vars-missing/21698 "2016-06-08T14:24:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karsten](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@Karsten](https://forum.ansible.com/u/Karsten)\
**Post date:** [June 8, 2016, 2:24pm UTC](https://forum.ansible.com/t/migration-to-ansible-2-0-problem-with-changed-internal-apis-utils-load-vars-missing/21698/1 "2016-06-08T14:24:38Z")

</div>

Hi there,

i’ve extended our ansible inventory for ansible 1.9.1 with a custom vars-plugin. This plugin uses the method load\_vars from the utils module/class imported by “from ansible import utils” (sorry for this simple description, i’m not that proficient in python).

The code using load\_vars looks like this:

`
