-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.yml
More file actions
67 lines (41 loc) · 2.73 KB
/
globals.yml
File metadata and controls
67 lines (41 loc) · 2.73 KB
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
cluster_name: Ansible
netapp_hostname: 10.216.15.225
netapp_username: admin
netapp_password: P@ssw0rd
license_codes:
Aggregates_Setup:
- { name: Node1_Aggr1, node: Ansible-01, disk_count: 8, max_raid: 16 }
- { name: Node2_Aggr1, node: Ansible-02, disk_count: 8, max_raid: 16 }
Network_Port_Setup:
- { node: Ansible-01, port: e0e, mtu: 1500 }
- { node: Ansible-01, port: e0f, mtu: 1500 }
# - { node: Ansible-01, port: e0d, mtu: 1500 }
- { node: Ansible-02, port: e0e, mtu: 1500 }
- { node: Ansible-02, port: e0f, mtu: 1500 }
# - { node: Ansible-02, port: e0d, mtu: 1500 }
IF_Group_Configuration: #added MTU
- { name: a0a, mtu: 1500, ports: 'e0e,e0f', node: Ansible-01 }
- { name: a0a, mtu: 1500, ports: 'e0e,e0f', node: Ansible-02 }
VLAN_Configuration:
Broadcast_Domain_Configuration:
- { name: CIFS_NFS, mtu: 1500, ports: 'Ansible-01:a0a,Ansible-02:a0a' }
inters:
Data_SVMs:
- { name: Ansible_Test123, root_volume: Ansible_Test123, root_volume_aggregate: Node2_Aggr1, root_volume_security_style: mixed, language: C.UTF-8, protocol: 'NFS,CIFS' }
Network_Interface_SVM_LIF_Setup:
- { vserver: Ansible_Test123, interface_name: CIFSNFS, role: data, protocol: CIFS, home_port: e0d, home_node: Ansible-01, address: 10.216.15.228, netmask: 255.255.255.0, gateway: 10.216.15.1, failover_policy: sfo-partner-only, is_auto_revert: False }
- { vserver: Ansible_Test123, interface_name: IFGRP_Test, role: data, protocol: CIFS, home_port: e0d, home_node: Ansible-01, address: 10.216.15.229, netmask: 255.255.255.0, gateway: 10.216.15.1, failover_policy: broadcast-domain-wide, is_auto_revert: False }
Configure_DNS_for_SVM:
- { vserver: Ansible_Test123, domains: services-eng.local, nameservers: 10.216.15.2 }
CIFS_Server_Create:
- { vserver: Ansible_Test123, cifs_server_name: Ansible_CIFSJC, domain: services-eng.local, ou: cn=computers, force: True }
NFS_Server_Create:
- { vserver: Ansible_Test123 }
NFS_Exports:
- { vserver: Ansible_Test123, name: default, client_match: 0.0.0.0/0, protocol: cifs, ro_rule: any, rw_rule: any, superuser: any, rule_index: 1 }
- { vserver: Ansible_Test123, name: default, client_match: 10.216.15.0/24, protocol: nfs, ro_rule: any, rw_rule: any, superuser: any, rule_index: 2 }
Volume_Setup:
- { vserver: Ansible_Test123, protocol: CIFS, name: CIFS_Test, aggregate: Node1_Aggr1, size: 10, language: C.UTF-8, volume_security_style: unix, junction_path: /, percent_snapshot_space: 5, space_guarantee: none }
- { vserver: Ansible_Test123, protocol: NFS, name: NFS_Test, aggregate: Node1_Aggr1, size: 10, language: C.UTF-8, volume_security_style: unix, junction_path: /, percent_snapshot_space: 5, space_guarantee: none }
CIFS_Shares:
- { vserver: Ansible_Test123, share_name: Top_Secret, path: /CIFS_Test }