f18c26a9b3
Moved Ansible specific elements to playbooks/
55 lines
2.0 KiB
YAML
55 lines
2.0 KiB
YAML
---
|
|
# Cleaning turns on ironic conductor clean_nodes flag
|
|
# chich causes the nodes to be wiped after deletion.
|
|
cleaning: true
|
|
# The list of required packages for this role to install.
|
|
required_packages_ubuntu:
|
|
- mysql-server
|
|
- dnsmasq
|
|
- rabbitmq-server
|
|
- python-dev
|
|
- python-pip
|
|
- python-mysqldb
|
|
- python-configparser
|
|
- libffi-dev
|
|
- libxslt-dev
|
|
- libssl-dev
|
|
- libxml2-dev
|
|
- ipxe
|
|
- tftpd-hpa
|
|
- tftp-hpa
|
|
- syslinux-common
|
|
- syslinux
|
|
- xinetd
|
|
- parted
|
|
- ipmitool
|
|
- psmisc
|
|
- nginx
|
|
- wget
|
|
- genisoimage
|
|
- kpartx
|
|
http_boot_folder: /httpboot
|
|
ironicclient_source_install: false
|
|
shade_source_install: true
|
|
# Configuration information for diskimage-builder
|
|
dib_env_vars:
|
|
DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive"
|
|
ELEMENTS_PATH: "/opt/stack/diskimage-builder/elements"
|
|
# extra_dib_elements is a space separated list of elements.
|
|
extra_dib_elements: ""
|
|
# Setting to utilize diskimage-builder to create a bootable image.
|
|
create_image_via_dib: true
|
|
# Setting to prepend a partition image with a boot sector and partition table.
|
|
transform_boot_image: false
|
|
# If testing is true, then the environment is setup for using libvirt
|
|
# virtual machines for the hardware instead of real hardware.
|
|
testing: false
|
|
latest_os_ironic_url: https://raw.githubusercontent.com/juliakreger/ansible-modules-extras/features/new-openstack/cloud/os_ironic.py
|
|
latest_os_ironic_node_url: https://raw.githubusercontent.com/juliakreger/ansible-modules-extras/features/new-openstack/cloud/os_ironic_node.py
|
|
deploy_kernel: "{{http_boot_folder}}/coreos_production_pxe.vmlinuz"
|
|
deploy_ramdisk: "{{http_boot_folder}}/coreos_production_pxe_image-oem.cpio.gz"
|
|
deploy_kernel_url: "http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:8080/coreos_production_pxe.vmlinuz"
|
|
deploy_ramdisk_url: "http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:8080/coreos_production_pxe_image-oem.cpio.gz"
|
|
deploy_image_filename: "trusty-server-cloudimg-amd64.img"
|
|
deploy_image: "{{http_boot_folder}}/{{deploy_image_filename}}"
|