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....
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/8c36d916-a7d6-4cb7-9957-95b2644dc97d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.