Hi Team , i am facing below issue :*ERROR! Unexpected Exception, this is probably a bug: [Errno 2] No such file or directory*
using *ansible 2.4.2.0 *version . Can some please help me what was the issue . [suupacha@smolabvlnx20 ansible]$ ansible --version ansible 2.4.2.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/suupacha/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, May 3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)] [mwciuser@smolabvlnx20 etc]$ ansible localhost -m command -a "pwd" -vvvv ansible 2.4.2.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/mwciuser/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, May 3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)] Using /etc/ansible/ansible.cfg as config file setting up inventory plugins Parsed /etc/ansible/hosts inventory source with ini plugin *ERROR! Unexpected Exception, this is probably a bug: [Errno 2] No such file or directory* the full traceback was: Traceback (most recent call last): File "/usr/bin/ansible", line 106, in <module> exit_code = cli.run() File "/usr/lib/python2.7/site-packages/ansible/cli/adhoc.py", line 145, in run play = Play().load(play_ds, variable_manager=variable_manager, loader=loader) File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line 117, in load return p.load_data(data, variable_manager=variable_manager, loader=loader) File "/usr/lib/python2.7/site-packages/ansible/playbook/base.py", line 254, in load_data self._attributes[name] = method(name, ds[name]) File "/usr/lib/python2.7/site-packages/ansible/playbook/play.py", line 147, in _load_tasks return load_list_of_blocks(ds=ds, play=self, variable_manager=self._variable_manager, loader=self._loader) File "/usr/lib/python2.7/site-packages/ansible/playbook/helpers.py", line 59, in load_list_of_blocks loader=loader, File "/usr/lib/python2.7/site-packages/ansible/playbook/block.py", line 86, in load return b.load_data(data, variable_manager=variable_manager, loader=loader) File "/usr/lib/python2.7/site-packages/ansible/playbook/base.py", line 254, in load_data self._attributes[name] = method(name, ds[name]) File "/usr/lib/python2.7/site-packages/ansible/playbook/block.py", line 122, in _load_block use_handlers=self._use_handlers, File "/usr/lib/python2.7/site-packages/ansible/playbook/helpers.py", line 332, in load_list_of_tasks t = Task.load(task_ds, block=block, role=role, task_include=task_include, variable_manager=variable_manager, loader=loader) File "/usr/lib/python2.7/site-packages/ansible/playbook/task.py", line 139, in load return t.load_data(data, variable_manager=variable_manager, loader=loader) File "/usr/lib/python2.7/site-packages/ansible/playbook/base.py", line 244, in load_data ds = self.preprocess_data(ds) File "/usr/lib/python2.7/site-packages/ansible/playbook/task.py", line 179, in preprocess_data (action, args, delegate_to) = args_parser.parse() File "/usr/lib/python2.7/site-packages/ansible/parsing/mod_args.py", line 289, in parse if item in module_loader or item in action_loader or item in ['meta', 'include', 'include_tasks', 'include_role', 'import_tasks', 'import_role']: File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 323, in has_plugin return self.find_plugin(name) is not None File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 265, in find_plugin for path in (p for p in self._get_paths() if p not in self._searched_paths and os.path.isdir(p)): File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 176, in _get_paths ret.extend(self._get_package_paths(subdirs=subdirs)) File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 141, in _get_package_paths m = __import__(self.package) File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 34, in <module> from ansible.executor.module_common import modify_module File "/usr/lib/python2.7/site-packages/ansible/executor/module_common.py", line 44, in <module> from ansible.executor import action_write_locks File "/usr/lib/python2.7/site-packages/ansible/executor/action_write_locks.py", line 36, in <module> action_write_locks[None] = Lock() File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 176, in Lock return Lock() File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 147, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1) File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 75, in __init__ sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) *OSError: [Errno 2] No such file or directory* *Thanks * *Upender* -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.