Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "stderr_lines": [
- "WARNING: Changing \"hero\" to a valid URI of \"http://hero\", which is the required format used for service principal names",
- "WARNING: Found an existing application instance of \"app_instance\". We will patch it",
- "WARNING: Creating a role assignment under the scope of \"/subscriptions/sub_id\"",
- "WARNING: Role assignment already exits."
- ],
- "cmd": [
- "az",
- "ad",
- "sp",
- "create-for-rbac",
- "--name",
- "hero",
- "--role=Owner",
- "--scopes=/subscriptions/sub_id"
- ],
- "stderr": "WARNING: Changing \"hero\" to a valid URI of \"http://hero\", which is the required format used for service principal names\nWARNING: Found an existing application instance of \"app_instance\". We will patch it\nWARNING: Creating a role assignment under the scope of \"/subscriptions/sub_id\"\nWARNING: Role assignment already exits.",
- "stdout": "{\n \"appId\": \"app_instance\",\n \"displayName\": \"hero\",\n \"name\": \"http://hero\",\n \"password\": \"pw\",\n \"tenant\": \"tenant_id\"\n}",
- "delta": "0:00:03.356556",
- "stdout_lines": [
- "{",
- " \"appId\": \"app_instance\",",
- " \"displayName\": \"hero\",",
- " \"name\": \"http://hero\",",
- " \"password\": \"pw\",",
- " \"tenant\": \"tenant_id\"",
- "}"
- ],
- "_ansible_no_log": false,
- "ansible_loop_var": "item",
- "end": "2019-08-19 15:00:13.804419",
- "_ansible_item_label": {
- "state": "Enabled",
- "name": "xs",
- "cloudName": "AzureCloud",
- "user": {
- "type": "user",
- "name": "admin@mail.com"
- },
- "id": "sub_id",
- "isDefault": true,
- "tenantId": "tenant_id"
- },
- "start": "2019-08-19 15:00:10.447863",
- "changed": true,
- "item": {
- "state": "Enabled",
- "name": "xs",
- "cloudName": "AzureCloud",
- "user": {
- "type": "user",
- "name": "admin@mail.com"
- },
- "id": "sub_id",
- "isDefault": true,
- "tenantId": "tenant_id"
- },
- "rc": 0,
- "invocation": {
- "module_args": {
- "warn": true,
- "executable": null,
- "_uses_shell": false,
- "strip_empty_ends": true,
- "_raw_params": "az ad sp create-for-rbac --name 'hero' --role='Owner' --scopes=\"/subscriptions/sub_id\"",
- "removes": null,
- "argv": null,
- "creates": null,
- "chdir": null,
- "stdin_add_newline": true,
- "stdin": null
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement