|
45 | 45 | ansible.builtin.pause: |
46 | 46 | seconds: "{{ plat__azure_consistency_wait }}" |
47 | 47 | <<<<<<< HEAD |
| 48 | +<<<<<<< HEAD |
48 | 49 |
|
49 | 50 | ======= |
50 | 51 |
|
|
54 | 55 |
|
55 | 56 | # Owner role is required for DWX if you are thinking of modifying this task |
56 | 57 | >>>>>>> 77d54e8 (Remove Cred/AD App during teardown. Rework Cred/AD App AuthZ) |
| 58 | +======= |
| 59 | + |
| 60 | +>>>>>>> 374439c (Updates to authz setup and teardown for deleting custom role, and scoping ad app down to the rg) |
57 | 61 | - name: Request Azure Cross Account App Creation |
58 | 62 | no_log: True |
59 | 63 | register: __azure_xaccount_app_info |
60 | 64 | command: > |
61 | 65 | az ad sp create-for-rbac |
62 | 66 | --name {{ plat__azure_xaccount_app_name }} |
63 | 67 | --role {{ plat__azure_xaccount_use_custom_role | ternary(__azure_xaccount_role_info.id, plat__azure_roles.contrib) }} |
| 68 | +<<<<<<< HEAD |
64 | 69 | <<<<<<< HEAD |
65 | 70 | --scope {{ plat__azure_xaccount_rg_scope | ternary(plat__azure_metagroup_uri, plat__azure_subscription_uri) }} |
66 | 71 | ======= |
|
73 | 78 | # command: > |
74 | 79 | # sleep 180 |
75 | 80 | >>>>>>> 77d54e8 (Remove Cred/AD App during teardown. Rework Cred/AD App AuthZ) |
| 81 | +======= |
| 82 | + --scope {{ plat__azure_xaccount_rg_scope | ternary(plat__azure_metagroup_uri, plat__azure_subscription_uri) }} |
| 83 | +>>>>>>> 374439c (Updates to authz setup and teardown for deleting custom role, and scoping ad app down to the rg) |
76 | 84 |
|
77 | 85 | - name: Register Azure Cross Account App info |
78 | 86 | no_log: True |
|
129 | 137 | <<<<<<< HEAD |
130 | 138 | ======= |
131 | 139 |
|
| 140 | +<<<<<<< HEAD |
132 | 141 | #Move Up |
133 | 142 | #- name: Handle Azure Cross Account Role |
134 | 143 | # register: __azure_xaccount_role_info |
|
148 | 157 | # plat__azure_xaccount_role_uri: "{{ __azure_xaccount_role_info.id }}" |
149 | 158 | >>>>>>> 77d54e8 (Remove Cred/AD App during teardown. Rework Cred/AD App AuthZ) |
150 | 159 |
|
| 160 | +======= |
| 161 | +>>>>>>> 374439c (Updates to authz setup and teardown for deleting custom role, and scoping ad app down to the rg) |
151 | 162 | - name: Request creation of Azure Managed Identities |
152 | 163 | when: ( __azure_identity_list_names is undefined ) or ( __azure_msi_item not in __azure_identity_list_names ) |
153 | 164 | loop_control: |
|
159 | 170 | - "{{ plat__azure_datalakeadmin_identity_name }}" |
160 | 171 | - "{{ plat__azure_log_identity_name }}" |
161 | 172 | - "{{ plat__azure_ranger_audit_identity_name }}" |
162 | | -#Dupe of Below? |
| 173 | + |
163 | 174 | - name: Wait for identities to be listed |
164 | 175 | command: "az identity list -g {{ plat__azure_metagroup_name }}" |
165 | 176 | register: __azure_identity_list |
|
271 | 282 | scope: "{{ plat__azure_datapath_uri }}" |
272 | 283 | assignee: "{{ __azure_ranger_audit_identity_uuid }}" |
273 | 284 | desc: Assign Storage Blob Data Contributor Role to Ranger Role at Data Container level |
| 285 | +<<<<<<< HEAD |
274 | 286 | <<<<<<< HEAD |
275 | 287 | loop_control: |
276 | 288 | loop_var: __azure_rl_assgn_item |
|
298 | 310 | # command: > |
299 | 311 | # sleep 1800 |
300 | 312 | >>>>>>> 77d54e8 (Remove Cred/AD App during teardown. Rework Cred/AD App AuthZ) |
| 313 | +======= |
| 314 | + loop_control: |
| 315 | + loop_var: __azure_rl_assgn_item |
| 316 | + label: "{{ __azure_rl_assgn_item.desc }}" |
| 317 | +>>>>>>> 374439c (Updates to authz setup and teardown for deleting custom role, and scoping ad app down to the rg) |
0 commit comments