This seems to be related to with_sequence. But it's hard to imagine
something so basic not working.
- debug: var=item
with_sequence: start=1 end=2
Yields
TASK [debug]
*******************************************************************
task path: /Users/bkaplan/si/ops/ansible/playbooks/hosts/aws/es-cluster.yml:
90
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File
"/Users/bkaplan/si/thirdparty/ansible/lib/ansible/executor/task_executor.py"
, line 93, in run
items = self._get_loop_items()
File
"/Users/bkaplan/si/thirdparty/ansible/lib/ansible/executor/task_executor.py"
, line 195, in _get_loop_items
items = self._shared_loader_obj.lookup_loader.get(self._task.loop,
loader=self._loader, templar=templar).run(terms=loop_terms, variables=self.
_job_vars, wantlist=True)
AttributeError: 'NoneType' object has no attribute 'run'
fatal: [localhost]: FAILED! => {"failed": true, "msg": "Unexpected failure
during module execution.", "stdout": ""}
--
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/a5760b49-6be2-4fee-a45c-0c33a4416936%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.