File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 27
27
loop_var : __data_store_azure_location
28
28
29
29
- name : Process Azure role assignments for external data storage locations
30
- azure.azcollection.azure_rm_roleassignment : # This Azure module is not idempotent on removals
30
+ azure.azcollection.azure_rm_roleassignment :
31
31
state : present
32
32
scope : " {{ __azure_data_location_assignment.scope }}"
33
33
name : " {{ __azure_data_location_assignment.name }}"
34
34
assignee_object_id : " {{ __azure_data_location_assignment.assignee }}"
35
35
role_definition_id : " {{ __data_store.read_only | default(False) | ternary(__azure_storage_blob_data_reader_uri, __azure_storage_blob_data_owner_uri) }}"
36
36
loop : " {{ __azure_data_location_storage_assignments }}"
37
37
loop_control :
38
- loop_var : __azure_data_location_assignment
38
+ loop_var : __azure_data_location_assignment
39
+ register : __data_azure_assignment_results
40
+ until : __data_azure_assignment_results is not failed
41
+ retries : 3
42
+ delay : 3
Original file line number Diff line number Diff line change 28
28
when : __data_storage.assignment.delete | default(data__teardown_deletes_assignments)
29
29
block :
30
30
- name : Process Azure role assignment removal for external data storage locations
31
- azure.azcollection.azure_rm_roleassignment : # This Azure module is not idempotent on removals
31
+ azure.azcollection.azure_rm_roleassignment :
32
32
state : absent
33
33
scope : " {{ __azure_data_location_assignment.scope }}"
34
34
assignee_object_id : " {{ __azure_data_location_assignment.assignee }}"
You can’t perform that action at this time.
0 commit comments