diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 520b2a3ec3f..efb06e9892e 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -336,7 +336,7 @@ class Runner(object): self.module_args = utils.template(self.module_args, inject) def _check_conditional(conditional): - def isset(var): + def is_set(var): return not var.startswith("$") return eval(conditional) conditional = utils.template(self.conditional, inject)