diff --git a/lib/ansible/utils/__init__.py b/lib/ansible/utils/__init__.py index 52759c15fc..891446d766 100644 --- a/lib/ansible/utils/__init__.py +++ b/lib/ansible/utils/__init__.py @@ -145,6 +145,9 @@ def is_changed(result): def check_conditional(conditional): + if not isinstance(conditional, basestring): + return conditional + def is_set(var): return not var.startswith("$")