# gathering facts error with LXC containers

**URL:** <https://forum.ansible.com/t/gathering-facts-error-with-lxc-containers/18298>\
**Category:** Ansible Project\
**Created:** [May 25, 2015, 8:57am UTC](https://forum.ansible.com/t/gathering-facts-error-with-lxc-containers/18298 "2015-05-25T08:57:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiki\_Sugiaman](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@Kiki\_Sugiaman](https://forum.ansible.com/u/Kiki_Sugiaman)\
**Post date:** [May 25, 2015, 8:57am UTC](https://forum.ansible.com/t/gathering-facts-error-with-lxc-containers/18298/1 "2015-05-25T08:57:08Z")

</div>

Hi all, noob here.

When running ansible-playbook against LXC containers, I have to set "gather\_facts: False". Otherwise it always gets stuck there. The reason is because accessing /proc/cpuinfo inside lxc containers always results in:  
"cannot access /proc/cpuinfo: Transport endpoint is not connected"

I don't know whether this is a bug in LXC or Ansible, but I thought I should leave this here for those googling around.
