-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts_WIN
23 lines (14 loc) · 1.06 KB
/
hosts_WIN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Inventory file example for Windows provisioning
#
# Modify this inventory example file with information about the target servers you want to provision.
# Only three parameters are required:
# • Hostname: the OS hostname that will be configured (cautious: it is not the FQDN!)
# • os_ip_address: the IP address that will be assigned to the operating system
# • serial_number: the serial number of the server to be provisioned (found in COM)
localhost ansible_python_interpreter=/usr/bin/python3 ansible_connection=local
# localhost refers to the local machine on which Ansible is being run
# tells Ansible to use Python 3 as the interpreter for running modules
# local directive informs Ansible that it should execute the tasks locally instead of connecting over SSH
[WIN2022]
WIN-1 os_ip_address=192.168.3.178 serial_number=CZ2311004H # DL360 Gen10 Plus (MR active - NS204i disabled) [iLO: 192.168.0.20]
WIN-2 os_ip_address=192.168.3.179 serial_number=CZ2311004G # DL360 Gen10 Plus (MR disabled - NS204i active) [iLO: 192.168.0.21]