The full traceback is:
Traceback (most recent call last):
File
"/venv_ansible/lib/python2.7/site-packages/ansible/executor/task_executor.py",
line 158, in run
res = self._execute()
File
"/venv_ansible/lib/python2.7/site-packages/ansible/executor/task_executor.py",
line 593, in _execute
result = self._handler.run(task_vars=variables)
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/action/gather_facts.py",
line 99, in run
res = self._execute_module(module_name=fact_module,
module_args=mod_args, task_vars=task_vars, wrap_async=False)
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/action/__init__.py",
line 970, in _execute_module
self._make_tmp_path()
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/action/__init__.py",
line 390, in _make_tmp_path
tmpdir = self._remote_expand_user(self.get_shell_option('remote_tmp',
default='~/.ansible/tmp'), sudoable=False)
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/action/__init__.py",
line 853, in _remote_expand_user
data = self._low_level_execute_command(cmd, sudoable=False)
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/action/__init__.py",
line 1265, in _low_level_execute_command
rc, stdout, stderr = self._connection.exec_command(cmd,
in_data=in_data, sudoable=sudoable)
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py",
line 1277, in exec_command
cmd = self._build_command(ssh_executable, 'ssh', *args)
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py",
line 715, in _build_command
b_args = [to_bytes(a, errors='surrogate_or_strict') for a in
self._split_ssh_args(attr)]
File
"/venv_ansible/lib/python2.7/site-packages/ansible/plugins/connection/__init__.py",
line 119, in _split_ssh_args
return [to_text(x.strip()) for x in shlex.split(to_bytes(argstring)) if
x.strip()]
File "/usr/lib64/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib64/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib64/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib64/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
fatal: [opxlrdn0036]: FAILED! => {
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
yaml file
---
-
gather_facts: true
hosts: jumpboxes_private
tasks:
-
set_fact:
test_msg: "Test messahe"
-
debug: "msg= \"{{ test_msg }}\""
-
debug: "msg= \"{{ var }}\""
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/04cb178f-6a2b-4f8c-a412-71a755cd6d2fn%40googlegroups.com.