mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
rename isset to is_set
This commit is contained in:
parent
8621539341
commit
dc14681530
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue