# How to enable SendENV on 1.9.6

**URL:** <https://forum.ansible.com/t/how-to-enable-sendenv-on-1-9-6/22607>\
**Category:** Ansible Developer\
**Created:** [September 21, 2016, 7:32pm UTC](https://forum.ansible.com/t/how-to-enable-sendenv-on-1-9-6/22607 "2016-09-21T19:32:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![barrett](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@barrett](https://forum.ansible.com/u/barrett)\
**Post date:** [September 21, 2016, 7:32pm UTC](https://forum.ansible.com/t/how-to-enable-sendenv-on-1-9-6/22607/1 "2016-09-21T19:32:41Z")

</div>

Running: Ansible 1.9.6

I have seen many posts related to SendENV in the context of Locale.

But haven’t see it addressed more generally.

I have a setup like the below that works fine when used from ssh, but ansible doesn’t seem to be sending the var.

Is this supported, if it is any advice on understanding why it isn’t working for me?

```auto
Host host
    User deploy_user
    HostName xx.xx.xx.xx
    IdentityFile ~/.ssh/deploy_user
    ForwardAgent yes
    SendEnv SomeVar

```

---

<div class="post-metadata">

**Author:** ![barrett](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@barrett](https://forum.ansible.com/u/barrett)\
**Post date:** [September 21, 2016, 7:33pm UTC](https://forum.ansible.com/t/how-to-enable-sendenv-on-1-9-6/22607/2 "2016-09-21T19:33:44Z")

</div>

I’ll update and say I cannot hardcode the var in a checked in file, because it is specific to each user.
