I have built a pipeline with 4 tasks
- Task 1 Builds a VM
- Task 2 Add a Data Disk
- Task 3 Add a Second Data Disk
- Task 4 Add a Third Data Disk
However, if I only want Task 1 and Task 2 to execute how can I skip Task 3 and 4? For example, if the user only wants 1 Data Disk. I know they can be disabled manually but is there a way to automate this based on a variable?