# Using import\_playbook and environment.

**URL:** <https://forum.ansible.com/t/using-import-playbook-and-environment/25912>\
**Category:** Ansible Project\
**Created:** [November 3, 2017, 12:48pm UTC](https://forum.ansible.com/t/using-import-playbook-and-environment/25912 "2017-11-03T12:48:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Walender](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@Alex\_Walender](https://forum.ansible.com/u/Alex_Walender)\
**Post date:** [November 3, 2017, 12:48pm UTC](https://forum.ansible.com/t/using-import-playbook-and-environment/25912/1 "2017-11-03T12:48:24Z")

</div>

Imagine following situation:

I have a big main.yaml playbook file, where I include roles and import many different other playbooks.  
I am behind a corporate proxy which I have to include in the main playbook with the environment field.

For this I have an example of my main yaml file:
