mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
1becc665b2
commit
c1b63d1500
1 changed files with 3 additions and 0 deletions
|
@ -145,6 +145,9 @@ def is_changed(result):
|
||||||
|
|
||||||
def check_conditional(conditional):
|
def check_conditional(conditional):
|
||||||
|
|
||||||
|
if not isinstance(conditional, basestring):
|
||||||
|
return conditional
|
||||||
|
|
||||||
def is_set(var):
|
def is_set(var):
|
||||||
return not var.startswith("$")
|
return not var.startswith("$")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue