# setup faillure

**URL:** <https://forum.ansible.com/t/setup-faillure/21276>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [April 26, 2016, 4:46pm UTC](https://forum.ansible.com/t/setup-faillure/21276 "2016-04-26T16:46:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ming.chau](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@ming.chau](https://forum.ansible.com/u/ming.chau)\
**Post date:** [April 26, 2016, 4:46pm UTC](https://forum.ansible.com/t/setup-faillure/21276/1 "2016-04-26T16:46:35Z")

</div>

hello,

i’m using Ansible with git distribution. before updating my local repo, everything was OK… but now i have a big problem :

TASK [setup] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [172.28.128.10]: FAILED! =\> {“changed”: false, “failed”: true, “module\_stderr”: “”, “module\_stdout”: “Traceback (most recent call last):\r\n File "/home/vagrant/.ansible/tmp/ansible-tmp-1461688443.62-5316165348671/setup", line 5163, in \r\n main()\r\n File "/home/vagrant/.ansible/tmp/ansible-tmp-1461688443.62-5316165348671/setup", line 120, in main\r\n data = get\_all\_facts(module)\r\n File "/home/vagrant/.ansible/tmp/ansible-tmp-1461688443.62-5316165348671/setup", line 5108, in get\_all\_facts\r\n facts = ansible\_facts(module)\r\n File "/home/vagrant/.ansible/tmp/ansible-tmp-1461688443.62-5316165348671/setup", line 5097, in ansible\_facts\r\n facts.update(Facts().populate())\r\n File "/home/vagrant/.ansible/tmp/ansible-tmp-1461688443.62-5316165348671/setup", line 2244, in **init** \r\n self.get\_service\_mgr\_facts()\r\n File "/home/vagrant/.ansible/tmp/ansible-tmp-1461688443.62-5316165348671/setup", line 2677, in get\_service\_mgr\_facts\r\n if self.\_check\_systemd():\r\n File "/home/vagrant/.ansible/tmp/ansible-tmp-1461688443.62-5316165348671/setup", line 2801, in \_check\_systemd\r\n if module.get\_bin\_path(‘systemctl’):\r\nNameError: global name ‘module’ is not defined\r\n”, “msg”: “MODULE FAILURE”, “parsed”: false}

the version of python on the test machine is

vagrant@vagrant-ubuntu-trusty-64:~$ python --version  
Python 2.7.6

OMG ! I forgot --recursive… in my git commands

sorry 🙂
