# gathering facts problem

**URL:** <https://forum.ansible.com/t/gathering-facts-problem/13861>\
**Category:** Ansible Project\
**Created:** [November 7, 2013, 9:10am UTC](https://forum.ansible.com/t/gathering-facts-problem/13861 "2013-11-07T09:10:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marek\_cervenka](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@marek\_cervenka](https://forum.ansible.com/u/marek_cervenka)\
**Post date:** [November 7, 2013, 9:10am UTC](https://forum.ansible.com/t/gathering-facts-problem/13861/1 "2013-11-07T09:10:31Z")

</div>

i have this problem when running ansible all -m setup

somehost | FAILED =\> failed to parse: SUDO-SUCCESS-enlzpbznnqxrommewxjtbltwnzyntwha  
Traceback (most recent call last):  
File “/home/noc/.ansible/tmp/ansible-1383814412.97-70734570373713/setup”, line 3196, in   
main()  
File “/home/noc/.ansible/tmp/ansible-1383814412.97-70734570373713/setup”, line 2186, in main  
data = run\_setup(module)  
File “/home/noc/.ansible/tmp/ansible-1383814412.97-70734570373713/setup”, line 2127, in run\_setup  
facts = ansible\_facts()  
File “/home/noc/.ansible/tmp/ansible-1383814412.97-70734570373713/setup”, line 2116, in ansible\_facts  
facts.update(Facts().populate())  
File “/home/noc/.ansible/tmp/ansible-1383814412.97-70734570373713/setup”, line 140, in **init**  
self.get\_platform\_facts()  
File “/home/noc/.ansible/tmp/ansible-1383814412.97-70734570373713/setup”, line 182, in get\_platform\_facts  
self.get\_distribution\_facts()  
File “/home/noc/.ansible/tmp/ansible-1383814412.97-70734570373713/setup”, line 324, in get\_distribution\_facts  
self.facts[‘distribution\_version’] = data.split()[1]  
IndexError: list index out of range

any ideas?  
target is centos6.3 32-bit  
management is centos6.3 32-bit, ansible 1.3.3/ansible 1.4git201311062002

---

<div class="post-metadata">

**Author:** ![James\_Cammarata1](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Post date:** [November 7, 2013, 12:25pm UTC](https://forum.ansible.com/t/gathering-facts-problem/13861/2 "2013-11-07T12:25:42Z")

</div>

That looks like a bug, could you open an issue on github for this? Thanks!
