when running
- debug: var=groups.control
- name: Create facts.d directory on ops-control
file:
state: directory
path: /etc/ansible/facts.d
sudo: yes
delegate_to: "{{groups.control}}"
i get
TASK: [debug var=groups.control]
**********************************************
ok: [127.0.0.1] => {
"var": {
"groups.control": [
"10.0.196.112"
]
}
}
TASK: [Create facts.d directory on ops-control]
*******************************
fatal: [127.0.0.1 -> [u'10.0.196.112']] => Traceback (most recent call last
):
File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py",
line 582, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py",
line 785, in _executor_internal
return self._executor_internal_inner(host, self.module_name, self.
module_args, inject, port, complex_args=complex_args)
File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py",
line 923, in _executor_internal_inner
delegate = self._compute_delegate(actual_pass, inject)
File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py",
line 363, in _compute_delegate
delegate['user'] = self._compute_delegate_user(self.delegate_to,
delegate['inject'])
File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py",
line 393, in _compute_delegate_user
if host in inject['hostvars']:
TypeError: unhashable type: 'list'
I've not yet seen this kind of error yet.
--
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/3dd1d449-31c2-4394-b233-acc7d1c6fb05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.