forked from htaudah/vmlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customizations.yml
30 lines (28 loc) · 1.46 KB
/
customizations.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
# These customizations are used in lieu of vCenter customization specifications so that they may
# be checked into source control and more easily maintained.
# Written by: Hani Audah <[email protected]>
# Created on: May/17/2020
# -------------------------------------------------------------------------------------------------
custom_win_2019_workgroup:
hostname: "{{ computer_name }}"
# DNS servers consist of list of Active Directory domain controllers
dns_servers: "{{ groups['domain_controllers'] | map('extract', hostvars, 'host_address') | map('regex_replace', '(\\d+)', network_subnet + '.\\1') | list }}"
timezone: 150 # Riyadh
password: "{{ win_local_password }}"
orgname: "{{ orgname }}"
custom_win_10:
hostname: "{{ computer_name }}"
# DNS servers consist of list of Active Directory domain controllers
dns_servers: "{{ groups['domain_controllers'] | map('extract', hostvars, 'host_address') | map('regex_replace', '(\\d+)', network_subnet + '.\\1') | list }}"
timezone: 150 # Riyadh
password: "{{ win_local_password }}"
autologon: yes
autologoncount: 1
runonce: net use administrator /active:yes
orgname: "{{ orgname }}"
custom_centos_8:
hostname: "{{ computer_name }}"
dns_servers: "{{ (groups['domain_controllers'] | map('extract', hostvars, 'host_address') | map('regex_replace', '(\\d+)', network_subnet + '.\\1') | list) + [fallback_dns_server] }}"
timezone: "Asia/Riyadh"
password: "{{ linux_local_password }}"
orgname: "{{ orgname }}"