diff --git a/changelogs/fragments/20240814-azure_manage_resurce_group.yml b/changelogs/fragments/20240814-azure_manage_resurce_group.yml new file mode 100644 index 00000000..9ecad2f2 --- /dev/null +++ b/changelogs/fragments/20240814-azure_manage_resurce_group.yml @@ -0,0 +1,2 @@ +bugfixes: + - Updating retries count to be 20 from 40 in the Delete resource group task in order to shorten the time the user waits before the task fails diff --git a/roles/azure_manage_resource_group/tasks/delete.yml b/roles/azure_manage_resource_group/tasks/delete.yml index 0eec1d37..33d0ec45 100644 --- a/roles/azure_manage_resource_group/tasks/delete.yml +++ b/roles/azure_manage_resource_group/tasks/delete.yml @@ -21,7 +21,7 @@ name: "{{ azure_manage_resource_group_name }}" state: absent force_delete_nonempty: "{{ azure_manage_resource_group_force_delete_nonempty | default(omit) }}" - retries: 40 + retries: 20 delay: 5 register: result until: result.failed == false