In my playbook, I'd like to use the Azure DevOps Predefine Variable "$(Build.SourcesDirectory)":
Here's my  playbook:
---
- hosts: KBR_MTL361
  tasks:
   - name: copy file
     win_copy:
      src: D:\Web.config
      dest: $(Build.SourcesDirectory)
I'm using Azure DevOps Pipeline to run this ansible-playbook:
Pipeline Task in TFS
However, it isn't working.
Is there anyone out there that knows how to use the pipeline variable?