-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3_config_cloud_cc_vmware.yml
46 lines (43 loc) · 1.45 KB
/
3_config_cloud_cc_vmware.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
# Author Remo Mattei
# Email: [email protected]
---
- hosts: localhost
gather_facts: no
connection: local
tasks:
- name: Define Cloud Connector configuration
set_fact:
no_log: True
avi_config_cloud:
avi_cloud_discovery_wait: "{{ vcenter.cloud_discovery_time }}"
cloud:
- vtype: CLOUD_VCENTER
license_tier: ENTERPRISE_18
name: "{{ vcenter.AviCloudName }}"
vcenter_configuration:
username: "{{ vcenter.username }}"
datacenter: "{{ vcenter.datacenter }}"
management_network: "/api/vimgrnwruntime/?name={{ vcenter.network_mgmt }}"
management_ip_subnet:
mask: "{{ vcenter.network_subnet_mask }}"
ip_addr:
type: V4
addr: "{{ vcenter.network_subnet }}"
privilege: WRITE_ACCESS
vcenter_url: "{{ vcenter.vcenter_url }}"
password: "{{ vcenter.password }}"
enable_vip_static_routes: True
prefer_static_routes: True
license_type: LIC_CORES
- name: Discover Cloud Subnets
no_log: True
import_role:
name: avinetworks.aviconfig
vars:
avi_config: "{{ avi_config_cloud }}"
- name: Setup Cloud Connector
no_log: True
import_role:
name: avinetworks.aviconfig
vars:
avi_config: "{{ avi_config_cloud }}"