forked from openshift-metal3/dev-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvm_setup_vars.yml
More file actions
21 lines (18 loc) · 786 Bytes
/
vm_setup_vars.yml
File metadata and controls
21 lines (18 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Here we put the ansible vars to override some defaults in the vm-setup
# playbooks/roles, ref https://github.com/metal3-io/metal3-dev-env
# Currently this is required because of hard-coded node-name expectations in the
# openshift-installer terraform templates
ironic_prefix: "openshift_"
# We enable more memory and masters in dev-scripts compared to the minimal setup
# in metal3-dev-env
default_memory: 16384
num_masters: 3
# For OpenShift we create some additional DNS records for the API/DNS VIPs
baremetal_network_cidr: "{{ lookup('env', 'EXTERNAL_SUBNET') | default('192.168.111.0/24', true) }}"
dns_extrahosts:
- ip: "{{ baremetal_network_cidr | nthhost(5) }}"
hostnames:
- "api"
- ip: "{{ baremetal_network_cidr | nthhost(2) }}"
hostnames:
- "ns1"