Skip to content

The Unless Condition

The unless condition applies to tasks. The task is executed unless some condition is met. The unless condition is helpful when certain tasks to be skipped based on some condition.

conditions/unless.png

The unless configuration takes a single javascript expression. When true, the task is skipped. In this example, if the variable "environment" is equal to 'dev', the task is skipped.

Workload Automation and Orchestration