openstack-ansible-ops/multi-node-aio-xenial-ansible/roles/tftpboot_configure/defaults/main.yml

50 lines
2.4 KiB
YAML

---
# 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 writing, 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.
#
# name: tftpboot_configure/defaults
# description: ALL our default variables for tftpboot_configure go in here
#------------------------------------------------------------------------------
# Packages - All our required packages we need installing
#------------------------------------------------------------------------------
# - variables -
tftp_mirror: archive.ubuntu.com # Where will we pull our linux boot environment from
tftp_proxy: blank # What proxy will we use, if any.
tftp_distro: [ xenial ] # What distribution will we pull
tftp_files: [ initrd.gz, linux ]
ntp_server: pool.ntp.org
atftpd_path: /srv/tftp # What is the path for our tftpd
tftp_source: /srv/tftp_source/ # What is the path where the source pxe config files are placed per server
atftp_user: nobody # What user does this environment get set up as
atftp_group: nogroup # What group does this environment get set up as
preseed_password: hackme # Default password placed into pre-seed file
vm_disk_device: vda # Default disk device used in pre-seed
vm_net_iface: eth0 # Default interface used in pre-seed
ssh_key: blank
distro_url:
# These below variables rely on apache being set up and is where the preseed is set up
preseed_apache_url: pxe # What is the url http://server/THISVARHERE
preseed_path: /var/www/html/pxe # What path
webserver_ip_address: "{{ ansible_default_ipv4.address }}"
server_list: # What is our list of servers
- name: blank
hwaddr: "aa:aa:aa:aa:aa:aa"
distro: xenial
preseed_file: my-preseed-file # Allow a custom preseed on a per server basis