Razique Mahroua
2020-03-18 b85c91a8192593f6b62f93e11c971868964343a9
commit | author | age
57bfb6 1 Azure-Create-Service-Principal
VP 2 =========
3
4 This role creates a service principal in Azure with access to a specific subscription.
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 Needs to be run before OCP is installed as it is used in the install
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     azure_tenant: 00000000-1111-2222-3333-444444444444
19     azure_subscription_id: 55555555-6666-7777-8888-999999999999
20     project_tag: 'ResourceGroupName'
21
22 This role will create two new variables and make them available
23     ocp_azure_sp: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
24     ocp_azure_pwd: 'GeneratedPassword'
25
26 Dependencies
27 ------------
28
29 Requires the Azure to be the cloud provider
30
31 Example Playbook
32 ----------------
33
34   hosts: masters
35   gather_facts: False
36   become: yes
37   run_once: true
38   roles:
39     - { role: "infra-azure-create-service-principal" }
40
41 License
42 -------
43
44 BSD
45
46 Author Information
47 ------------------
48
49 Vince Power (vpower@redhat.com)
50