Brian Coca 2 months ago
parent 5ba8a6f650
commit 6b444edb76

@ -439,7 +439,7 @@ class VariableManager:
# if we have a host and task and we're delegating to another host,
# figure out the variables for that host now so we don't have to rely on host vars later
if include_delgate_to and task and host and task.delegate_to is not None:
if include_delegate_to and task and host and task.delegate_to is not None:
all_vars['ansible_delegated_vars'], all_vars['_ansible_loop_cache'] = self._get_delegated_vars(play, task, all_vars)
display.debug("done with get_vars()")

Loading…
Cancel
Save