Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. {
  2. "stderr_lines": [
  3. "WARNING: Changing \"hero\" to a valid URI of \"http://hero\", which is the required format used for service principal names",
  4. "WARNING: Found an existing application instance of \"app_instance\". We will patch it",
  5. "WARNING: Creating a role assignment under the scope of \"/subscriptions/sub_id\"",
  6. "WARNING: Role assignment already exits."
  7. ],
  8. "cmd": [
  9. "az",
  10. "ad",
  11. "sp",
  12. "create-for-rbac",
  13. "--name",
  14. "hero",
  15. "--role=Owner",
  16. "--scopes=/subscriptions/sub_id"
  17. ],
  18. "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.",
  19. "stdout": "{\n \"appId\": \"app_instance\",\n \"displayName\": \"hero\",\n \"name\": \"http://hero\",\n \"password\": \"pw\",\n \"tenant\": \"tenant_id\"\n}",
  20. "delta": "0:00:03.356556",
  21. "stdout_lines": [
  22. "{",
  23. " \"appId\": \"app_instance\",",
  24. " \"displayName\": \"hero\",",
  25. " \"name\": \"http://hero\",",
  26. " \"password\": \"pw\",",
  27. " \"tenant\": \"tenant_id\"",
  28. "}"
  29. ],
  30. "_ansible_no_log": false,
  31. "ansible_loop_var": "item",
  32. "end": "2019-08-19 15:00:13.804419",
  33. "_ansible_item_label": {
  34. "state": "Enabled",
  35. "name": "xs",
  36. "cloudName": "AzureCloud",
  37. "user": {
  38. "type": "user",
  39. "name": "admin@mail.com"
  40. },
  41. "id": "sub_id",
  42. "isDefault": true,
  43. "tenantId": "tenant_id"
  44. },
  45. "start": "2019-08-19 15:00:10.447863",
  46. "changed": true,
  47. "item": {
  48. "state": "Enabled",
  49. "name": "xs",
  50. "cloudName": "AzureCloud",
  51. "user": {
  52. "type": "user",
  53. "name": "admin@mail.com"
  54. },
  55. "id": "sub_id",
  56. "isDefault": true,
  57. "tenantId": "tenant_id"
  58. },
  59. "rc": 0,
  60. "invocation": {
  61. "module_args": {
  62. "warn": true,
  63. "executable": null,
  64. "_uses_shell": false,
  65. "strip_empty_ends": true,
  66. "_raw_params": "az ad sp create-for-rbac --name 'hero' --role='Owner' --scopes=\"/subscriptions/sub_id\"",
  67. "removes": null,
  68. "argv": null,
  69. "creates": null,
  70. "chdir": null,
  71. "stdin_add_newline": true,
  72. "stdin": null
  73. }
  74. }
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement