Ansible Playbook

Can you please help me on correcting the below playbook…

  • name: Delete Project

uri:

url: “https://dev.azure.com/{{ org }}/_apis/projects?api-version=4.1”

method: DELETE

user: “{{ vsts_user }}”

password: “{{ pattoken }}”

return_content: yes

force_basic_auth: yes

validate_certs: yes

body_format: json

headers:

Accept: “application/json”

body: “{{ lookup(‘template’,‘./templates/{{ Testing_bharathidurairaj }}’) }}”

status_code: 202

when: list_project.status != 200

register: vsts_project

delegate_to: localhost

run_once: true

I am trying to delete a azure devops project using the above playbook…