--- ############### DEFAULTS ############### default_interface: "{{ default_network | default('eth0') }}" default_vm_image: "{{ default_image | default('ubuntu-16.04-amd64') }}" default_vm_storage: "{{ vm_disk_size | default(61440) }}" default_ubuntu_mirror_proxy: '' default_ubuntu_mirror_hostname: archive.ubuntu.com default_ubuntu_mirror_directory: /ubuntu ############### DEFAULTS ############### ############### MNAIO ############### # mnaio_data_disk: 'sdc' # str - not required, set this to define a given data disk if no data disk # is defined the largest unpartitioned disk will be used. mnaio_host_networks: dhcp: iface: 'vm-br-dhcp' # str - required, interface name inet_type: 'static' # str - required, iface type [static, dhcp, manual] address: '10.0.2.1/22' # str - not required, must be in CIDR format iface_port: none # str - required, physical port used within a host bridge mgmt: iface: 'vm-br-eth1' inet_type: 'static' address: '10.0.236.1/22' iface_port: none flat: iface: 'vm-br-eth2' inet_type: 'static' address: '10.0.248.1/22' iface_port: none vlan: iface: 'vm-br-eth3' inet_type: 'manual' iface_port: none vxlan: iface: 'vm-br-eth4' inet_type: 'manual' address: '10.0.240.1/22' iface_port: none storage: iface: 'vm-br-eth5' inet_type: 'manual' address: '10.0.244.1/22' iface_port: none mnaio_host_iptables_rules: - table: filter chain: INPUT protocol: tcp match: tcp destination_port: 67 jump: ACCEPT - table: filter chain: INPUT protocol: udp match: udp destination_port: 67 jump: ACCEPT - table: filter chain: INPUT protocol: udp match: udp destination_port: 53 jump: ACCEPT - table: filter chain: INPUT protocol: udp match: udp destination_port: 53 jump: ACCEPT - table: filter chain: FORWARD in_interface: vm-br-dhcp jump: ACCEPT - table: filter chain: FORWARD out_interface: vm-br-dhcp jump: ACCEPT - table: nat chain: POSTROUTING out_interface: "{{ masquerade_interface | default(default_interface) }}" jump: MASQUERADE ############### MNAIO ############### ############### PXE ############### tftp_port: 69 tftp_boot_dir: "/var/lib/tftpboot" tftp_server: "{{ ansible_host }}" # IP address, or domain name of the TFTP server # tftp_ssh_key: '' # user defined ssh key, used to access the host # Default ISO images images: ubuntu-16.04-amd64: image_type: debian image_iso_url: "http://releases.ubuntu.com/16.04.2/ubuntu-16.04.2-server-amd64.iso" image_name: "ubuntu-16.04.2-server-amd64.iso" image_short_name: "ubuntu-16.04.2-server-amd64" image_default_boot: "ubuntu-16.04.2-server-amd64/amd64/boot-screens/menu.cfg" image_kernel_options: "biosdevname=0 net.ifnames=0 auto=true priority=critical vga=789" image_kernel: "ubuntu-16.04.2-server-amd64/amd64/linux" image_initrd: "ubuntu-16.04.2-server-amd64/amd64/initrd.gz" image_netboot: "ubuntu-16.04.2-server-amd64/install/netboot/ubuntu-installer" image_preseeds: mnaio: url: "tftp://{{ tftp_server }}/preseed/mnaio.preseed" template_name: "mnaio.preseed" vm: url: "tftp://{{ tftp_server }}/preseed/vm.preseed" template_name: "vm.preseed" ubuntu-14.04-amd64: image_type: debian image_iso_url: "http://releases.ubuntu.com/14.04.5/ubuntu-14.04.5-server-amd64.iso" image_name: "ubuntu-14.04.5-server-amd64.iso" image_short_name: "ubuntu-14.04.5-server-amd64" image_default_boot: "ubuntu-14.04.5-server-amd64/amd64/boot-screens/menu.cfg" image_kernel_options: "biosdevname=0 net.ifnames=0 auto=true priority=critical vga=789" image_kernel: "ubuntu-14.04.5-server-amd64/amd64/linux" image_initrd: "ubuntu-14.04.5-server-amd64/amd64/initrd.gz" image_netboot: "ubuntu-14.04.5-server-amd64/install/netboot/ubuntu-installer" image_preseeds: mnaio: url: "tftp://{{ tftp_server }}/preseed/mnaio.preseed" template_name: "mnaio.preseed" vm: url: "tftp://{{ tftp_server }}/preseed/vm.preseed" template_name: "vm.preseed" pxelinux_url: "https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.gz" pxelinux_name: "syslinux-6.03.tar.gz" pxelinux_short_name: "syslinux-6.03" ############### PXE ############### ############### SERVERS ############### # List of servers to create specific mac address bound boot entries. servers: - server_hostname: 'infra1' # str - required, hostname of server server_vm_ram: 6144 # int - not required, used to specify ram when provisioning a VM server_vm_vcpus: 4 # int - not required, used to specify vcpus when provisioning a VM server_vm_fixed_addr: '10.0.2.100' # str - not required, used to specify fixed address when using internal DHCPD server_vm_primary_network: 'dhcp' # str - not required, primary network used to kick the VM server_image: "{{ default_vm_image }}" # str - required, image name server_default_interface: 'eth0' # str - required, default interface server_mac_address: '52:54:00:bd:80:00' # str - required, mac address of default interface server_preseed_ks: 'vm' # str - required, name of preseed/kickstart file server_extra_options: '' # str - not required, added kernel options server_networks: # dict - required, hash of networks, can be empty, key is used to name the networks. dhcp: iface: 'eth0' # str - required, interface name inet_type: 'dhcp' # str - required, iface type [static, dhcp, manual] vm_int_iface: vm-br-dhcp # str - not Required, used to specify an integration networks interface when provisioning a VM mgmt: iface: 'eth1' # str - required, interface name inet_type: 'static' # str - required, iface type [static, dhcp, manual] address: '10.0.236.100/22' # str - not required, must be in CIDR format vm_int_iface: vm-br-eth1 # str - not Required, used to specify an integration networks interface when provisioning a VM flat: iface: 'eth2' # str - required, interface name inet_type: 'static' # str - required, iface type [static, dhcp, manual] address: '10.0.248.100/22' # str - not required, must be in CIDR format vm_int_iface: vm-br-eth2 # str - not Required, used to specify an integration networks interface when provisioning a VM vlan: iface: 'eth3' # str - required, interface name inet_type: 'manual' # str - required, iface type [static, dhcp, manual] vm_int_iface: vm-br-eth3 # str - not Required, used to specify an integration networks interface when provisioning a VM vxlan: iface: 'eth4' # str - required, interface name inet_type: 'manual' # str - required, iface type [static, dhcp, manual] address: '10.0.240.100/22' # str - not required, must be in CIDR format vm_int_iface: vm-br-eth4 # str - not Required, used to specify an integration networks interface when provisioning a VM storage: iface: 'eth5' # str - required, interface name inet_type: 'manual' # str - required, iface type [static, dhcp, manual] address: '10.0.244.100/22' # str - not required, must be in CIDR format vm_int_iface: vm-br-eth5 # str - not Required, used to specify an integration networks interface when provisioning a VM - server_hostname: 'infra2' server_vm_ram: 6144 server_vm_vcpus: 4 server_vm_fixed_addr: '10.0.2.101' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:01' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.101/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.101/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.101/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.101/22' vm_int_iface: vm-br-eth5 - server_hostname: 'infra3' server_vm_ram: 6144 server_vm_vcpus: 4 server_vm_fixed_addr: '10.0.2.102' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:02' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.102/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.102/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.102/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.102/22' vm_int_iface: vm-br-eth5 - server_hostname: 'logging1' server_vm_ram: 2048 server_vm_vcpus: 2 server_vm_fixed_addr: '10.0.2.110' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:03' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.103/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.103/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.103/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.103/22' vm_int_iface: vm-br-eth5 - server_hostname: 'compute1' server_vm_ram: 2048 server_vm_vcpus: 4 server_vm_fixed_addr: '10.0.2.120' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:05' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.105/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.105/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.105/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.105/22' vm_int_iface: vm-br-eth5 - server_hostname: 'compute2' server_vm_ram: 2048 server_vm_vcpus: 4 server_vm_fixed_addr: '10.0.2.121' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:06' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.106/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.106/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.106/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.106/22' vm_int_iface: vm-br-eth5 - server_hostname: 'cinder1' server_vm_ram: 2048 server_vm_vcpus: 1 server_vm_fixed_addr: '10.0.2.130' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:07' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.107/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.107/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.107/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.107/22' vm_int_iface: vm-br-eth5 - server_hostname: 'cinder2' server_vm_ram: 2048 server_vm_vcpus: 1 server_vm_fixed_addr: '10.0.2.131' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:08' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.108/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.108/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.108/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.108/22' vm_int_iface: vm-br-eth5 - server_hostname: 'swift1' server_vm_ram: 2048 server_vm_vcpus: 1 server_vm_fixed_addr: '10.0.2.140' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:09' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.109/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.109/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.109/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.109/22' vm_int_iface: vm-br-eth5 - server_hostname: 'swift2' server_vm_ram: 2048 server_vm_vcpus: 1 server_vm_fixed_addr: '10.0.2.140' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:10' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.110/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.110/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.110/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.110/22' vm_int_iface: vm-br-eth5 - server_hostname: 'swift3' server_vm_ram: 2048 server_vm_vcpus: 1 server_vm_fixed_addr: '10.0.2.141' server_vm_primary_network: 'dhcp' server_image: "{{ default_vm_image }}" server_default_interface: 'eth0' server_mac_address: '52:54:00:bd:80:11' server_preseed_ks: 'vm' server_extra_options: '' server_networks: dhcp: iface: 'eth0' inet_type: 'dhcp' vm_int_iface: vm-br-dhcp mgmt: iface: 'eth1' inet_type: 'static' address: '10.0.236.111/22' vm_int_iface: vm-br-eth1 flat: iface: 'eth2' inet_type: 'static' address: '10.0.248.111/22' vm_int_iface: vm-br-eth2 vlan: iface: 'eth3' inet_type: 'manual' vm_int_iface: vm-br-eth3 vxlan: iface: 'eth4' inet_type: 'manual' address: '10.0.240.111/22' vm_int_iface: vm-br-eth4 storage: iface: 'eth5' inet_type: 'manual' address: '10.0.244.111/22' vm_int_iface: vm-br-eth5 ############### SERVERS ############### ############### DHCP ############### dhcp_default_lease_time: 21600 # Default lease time dhcp_max_lease_time: 43200 # Max lease time tftp_boot_path: /pxelinux.0 # Path of where to boot from first # - List of DHCP Subnets - These are iterated though and each will be created dhcp_list: - netmask: 255.255.255.0 # Netmask gateway: 10.0.2.1 # Gateway dns: 8.8.8.8 # DNS subnet: 10.0.2.0 # Subnet mask default_lease_time: 21600 # Subnet Default lease time - The default is used if this is not defined max_lease_time: 43200 # Subnet Max lease time - The default is used if this is not defined tftp_boot_path: /pxelinux.0 # Path for tftp of where to boot from first - The default is used if this is not defined tftp_server: "{{ tftp_server }}" # The server hosting the TFTP server - The default is used if this is not defined dhcp_default_domain_name: openstackci.local ############### DHCP ############### ############### KVM ############### ############### KVM ###############