openstack-ansible-ops/multi-node-aio/playbooks/group_vars/infra_hosts.yml

29 lines
1.7 KiB
YAML

---
# 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.
ansible_os_family: "{{ images[default_vm_image]['image_type'] }}"
server_domain_name: 'openstack.local' # str - required, domain name of server
server_vm: true # bool - not required, used to specify a host is to become a VM
server_vm_ram: '{{ infra_vm_server_ram | default(16384) }}' # int - not required, used to specify ram when provisioning a VM
server_vm_vcpus: '{{ infra_vm_server_vcpus | default(4) }}' # int - not required, used to specify vcpus when provisioning a VM
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_preseed_ks: 'vm' # str - required, name of preseed/kickstart file
server_extra_options: '' # str - not required, added kernel options
default_vm_storage: "{{ infra_vm_disk_size | default(92160) }}"