parent
05f6e76407
commit
88e1aa94fa
|
@ -263,11 +263,10 @@ class TaskExecutor:
|
||||||
|
|
||||||
# fields set from the play/task may be based on variables, so we have to
|
# fields set from the play/task may be based on variables, so we have to
|
||||||
# do the same kind of post validation step on it here before we use it.
|
# do the same kind of post validation step on it here before we use it.
|
||||||
self._play_context.post_validate(templar=templar)
|
# We also add "magic" variables back into the variables dict to make sure
|
||||||
|
# a certain subset of variables exist.
|
||||||
# now that the play context is finalized, we can add 'magic'
|
|
||||||
# variables to the variable dictionary
|
|
||||||
self._play_context.update_vars(variables)
|
self._play_context.update_vars(variables)
|
||||||
|
self._play_context.post_validate(templar=templar)
|
||||||
|
|
||||||
# Evaluate the conditional (if any) for this task, which we do before running
|
# Evaluate the conditional (if any) for this task, which we do before running
|
||||||
# the final task post-validation. We do this before the post validation due to
|
# the final task post-validation. We do this before the post validation due to
|
||||||
|
|
Loading…
Reference in New Issue