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 <module>\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 :)
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/96e520ff-531d-47e8-8ae4-4efaa4275256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.