# error with variable using set\_facts to grab host\_od from jumphost

**URL:** <https://forum.ansible.com/t/error-with-variable-using-set-facts-to-grab-host-od-from-jumphost/35250>\
**Category:** Ansible Project\
**Created:** [May 29, 2021, 2:01am UTC](https://forum.ansible.com/t/error-with-variable-using-set-facts-to-grab-host-od-from-jumphost/35250 "2021-05-29T02:01:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim4](https://avatars.discourse-cdn.com/v4/letter/t/ed655f/32.png) [@Tim4](https://forum.ansible.com/u/Tim4)\
**Post date:** [May 29, 2021, 2:01am UTC](https://forum.ansible.com/t/error-with-variable-using-set-facts-to-grab-host-od-from-jumphost/35250/1 "2021-05-29T02:01:35Z")

</div>

So I’m running into an error that is related to a role, but I dont think it’s the roll directly. It seems to error out when trying to set a variable from the ‘ansible\_os\_family’ fact. I am running this through a jump host using the ‘proxyJump’ ssh\_config setting. I’m on ansible v4, but the same thing happens with 3.4 as well. I can run the play book if I comment out the role, and running ad-hoc commands works just fine. When I runt `-m setup`, the ‘ansible\_os\_family’ comes back with the expected data. The error posted below states that the issue seems to be in reading from the proxy, I’d assume jump host, but I’m not sure if this is an order operations problem or something else.

FAILED! =\> {“msg”: "The task includes an option with an undefined variable. The error was: ‘│ Reading from proxy failed - read (115: Operation now in progress) [IP: \<\> 3142]  
ansible\_os\_family’ is undefined

---

<div class="post-metadata">

**Author:** ![Tim4](https://avatars.discourse-cdn.com/v4/letter/t/ed655f/32.png) [@Tim4](https://forum.ansible.com/u/Tim4)\
**Post date:** [June 1, 2021, 2:16pm UTC](https://forum.ansible.com/t/error-with-variable-using-set-facts-to-grab-host-od-from-jumphost/35250/2 "2021-06-01T14:16:18Z")

</div>

Figured this one out. It was because I was using fish instead of bash. switched to bash and it worked fine.
