setup faillure

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 :slight_smile: