diff --git a/ansible/configs/aro/destroy_env.yml b/ansible/configs/aro/destroy_env.yml index d22ad4f13e9..4184b1dc2af 100644 --- a/ansible/configs/aro/destroy_env.yml +++ b/ansible/configs/aro/destroy_env.yml @@ -14,10 +14,6 @@ gather_facts: False become: no tasks: - - name: Releasing the app registration - command: > - curl {{az_function_release}}{{project_tag}} - - name: Ensure az is installed environment: PATH: /usr/bin @@ -52,3 +48,8 @@ - name: Remove the ARO resource group ignore_errors: true command: "az group delete --name {{az_resource_group}} --yes" + + - name: Releasing the app registration + command: > + curl {{az_function_release}}{{project_tag}} +