diff --git a/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java b/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java index 9fb9dc7..b5b5ed3 100644 --- a/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java +++ b/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java @@ -134,7 +134,11 @@ public ArgumentListBuilder appendExtraVars(ArgumentListBuilder args) { // assuming Groovy representation for Boolean values if (value.equals("true") || value.equals("false")) { // JSON format is required for Boolean variables - sb.append("{\"").append(envVars.expand(var.getKey())).append("\":").append(value).append("}"); + sb.append("{\"") + .append(envVars.expand(var.getKey())) + .append("\":") + .append(value) + .append("}"); } else { sb.append(envVars.expand(var.getKey())).append("=").append(value); }