mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07: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…
Add table
Add a link
Reference in a new issue