743b939640
The basic provisioning tools we had in the MNAIO could long be used on a set of physical machines however doing so required a healthy understanding of everything going on under the hood. This change extracts the PXE components out of our older MNAIO tooling and will allow operators to easily deploy operating systems on machines in the most compatible way possible. Change-Id: I2188f0f0de7f8be331a35b5f22cf5114ea9b6718 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
28 lines
1.8 KiB
Plaintext
28 lines
1.8 KiB
Plaintext
---
|
|
# Copyright 2017, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in witing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
server_hostname: 'example-host1' # str - required, hostname of server
|
|
server_image: "{{ default_image_name }}" # str - required, image name
|
|
server_default_interface: 'eth0' # str - required, default interface
|
|
server_obm_ip: 10.127.83.200 # str - optional, used for out of band management
|
|
server_model: PowerEdge R710 # str - optional, information on the server
|
|
server_mac_address: '00:00:00:00:00:00' # str - required, mac address of default interface
|
|
server_extra_options: '' # str - not required, added kernel options
|
|
server_fixed_addr: '10.127.83.100' # str - required, IP address for this host
|
|
server_domain_name: "{{ default_server_domain_name }}" # str - required, domain name for the server
|
|
|
|
ansible_host: "{{ server_fixed_addr }}" # str - required, ansible host ip address
|
|
ansible_os_family: "{{ images[default_image_name]['image_type'] }}" # str - Set the ansible os family
|