Skip to content

Commit 49cbeca

Browse files
authored
Change lookup search for Azure Service Principal Object ID (#120)
Signed-off-by: Jim Enright <jenright@cloudera.com>
1 parent 482b3c8 commit 49cbeca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

roles/platform/tasks/initialize_azure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
- name: Set Service Principal Object UUID for Azure App
7575
ansible.builtin.set_fact:
76-
plat__azure_application_service_principal_objuuid: "{{ __azure_application_service_principals_list.stdout | from_json | community.general.json_query('[0].objectId') }}"
76+
plat__azure_application_service_principal_objuuid: "{{ __azure_application_service_principals_list.stdout | from_json | community.general.json_query('[0].id') }}"
7777

7878
- name: Check that Azure Service Principal ID is now set
7979
ansible.builtin.assert:

roles/platform/tasks/setup_azure_authz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
- name: Set Service Principal Object ID for new Azure App
9191
ansible.builtin.set_fact:
92-
plat__azure_application_service_principal_objuuid: "{{ __azure_application_service_principals_list.stdout | from_json | community.general.json_query('[0].objectId') }}"
92+
plat__azure_application_service_principal_objuuid: "{{ __azure_application_service_principals_list.stdout | from_json | community.general.json_query('[0].id') }}"
9393

9494
- name: Check that Azure Service Principal ID is now set
9595
ansible.builtin.assert:

0 commit comments

Comments
 (0)