-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsite_template.yml
80 lines (76 loc) · 1.82 KB
/
site_template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# code: language=ansible
---
deployment_site: "<site>"
system_configuration:
dns_configuration:
search_domain: "rc.demo.internal"
server_list:
- addr: "<ip>"
type: "V4"
ntp_configuration:
ntp_servers:
- server:
addr: "<ip>"
type: "V4"
global_tenant_config:
se_in_provider_context: true
tenant_access_to_provider_se: true
tenant_vrf: false
backup_passphrase: '{{ avi_admin_password }}'
cloud_parameters:
name: '{{ cloud_name | default("Default-Cloud") }}'
vcenter: "<vcenter>"
username: "xxxxx"
password: "{{ vcenter_password }}"
datacenter: "<datacenter>"
datastore: "<datastore>"
cluster: "<cluster>"
management_network: "<net>"
management_ip_subnet:
ip_addr:
addr: "<net>"
type: "V4"
mask: 24
management_gateway: "<ip>"
controller_network: "<net>"
controller_folder: "<folder>"
no_access_folder: "<folder>"
vs_parameters:
name: "ansible-demo"
fqdn: '{{ "ansible-demo" + ("." + dns_config.service_domains[0].domain_name if (dns_config.service_domains|default([]))|length>0 else "") }}'
ipam_network_subnet:
subnet:
ip_addr:
type: "V4"
addr: "<net>"
mask: 24
pool_members:
- ip:
addr: "<ip>"
type: "V4"
- ip:
addr: "<ip>"
type: "V4"
- ip:
addr: "<ip>"
type: "V4"
ldap_parameters:
profile_name: "Controller-LDAP-Auth"
base_dn: "<dn>"
admin_bind_dn: "<dn>"
group_search_dn: "<dn>"
user_search_dn: "<dn>"
password: "{{ ldapbind_password }}"
servers:
- "<ip>"
mapping_rules:
- index: 1
group_match:
criteria: "AUTH_MATCH_CONTAINS"
groups:
- "<group>"
is_superuser: true
vault_parameters:
vault_token: "<token>"
vault_address: "<address>"
vault_path: "/v1/<pki>/sign/<profile>"