commit | author | age
|
57bfb6
|
1 |
Azure-Create-Service-Principal |
VP |
2 |
========= |
|
3 |
|
|
4 |
This role deletes a service principal in Azure that is based on the resource group name |
|
5 |
|
|
6 |
az service principal documentation: https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli?view=azure-cli-latest |
|
7 |
|
|
8 |
Requirements |
|
9 |
------------ |
|
10 |
|
|
11 |
Will most likely be run as part of destroying an environment, it is a useful clean up task. |
|
12 |
|
|
13 |
Role Variables |
|
14 |
-------------- |
|
15 |
|
|
16 |
Needs some details about the Azure instance, there are no default values. The current |
|
17 |
values are names are from GPTE's naming standard. |
|
18 |
project_tag: 'ResourceGroupName' |
|
19 |
|
|
20 |
Dependencies |
|
21 |
------------ |
|
22 |
|
|
23 |
Requires the Azure to be the cloud provider |
|
24 |
|
|
25 |
Example Playbook |
|
26 |
---------------- |
|
27 |
|
|
28 |
hosts: masters |
|
29 |
gather_facts: False |
|
30 |
become: yes |
|
31 |
run_once: true |
|
32 |
roles: |
|
33 |
- { role: "infra-azure-delete-service-principal" } |
|
34 |
|
|
35 |
License |
|
36 |
------- |
|
37 |
|
|
38 |
BSD |
|
39 |
|
|
40 |
Author Information |
|
41 |
------------------ |
|
42 |
|
|
43 |
Vince Power (vpower@redhat.com) |
|
44 |
|