github.com/openshift/installer@v1.4.17/upi/openstack/inventory.yaml (about)

     1  all:
     2    hosts:
     3      localhost:
     4        ansible_connection: local
     5        ansible_python_interpreter: "{{ansible_playbook_python}}"
     6  
     7        # User-provided values
     8        os_subnet_range: '10.0.0.0/16'
     9        os_flavor_master: 'm1.xlarge'
    10        os_flavor_worker: 'm1.large'
    11        os_image_rhcos: 'rhcos'
    12  
    13        # Number of provisioned Control Plane nodes
    14        # 3 is the minimum number for a fully-functional cluster.
    15        os_cp_nodes_number: 3
    16  
    17        # Number of provisioned Compute nodes.
    18        os_compute_nodes_number: 3
    19  
    20        # The IP addresses of DNS servers to be used for the DNS resolution of
    21        # all instances in the cluster. The total number of dns servers supported
    22        # by an instance is three. That total includes any dns server provided by
    23        # the underlying OpenStack infrastructure.
    24        #
    25        # Note that the values below are example IPs and do not point to actual
    26        # resolvers. To use the OpenStack defaults, remove the values below.
    27        os_external_dns:
    28        - 192.0.2.53
    29        - 192.0.2.153
    30  
    31        # The public network providing connectivity to the cluster. If not
    32        # provided, the cluster external connectivity must be provided in another
    33        # way.
    34        #
    35        # Required for os_api_fip, os_ingress_fip, os_bootstrap_fip.
    36        os_external_network: 'external'
    37  
    38        # OpenShift API floating IP address. If this value is non-empty, the
    39        # corresponding floating IP will be attached to the Control Plane to
    40        # serve the OpenShift API.
    41        os_api_fip: '203.0.113.23'
    42  
    43        # OpenShift Ingress floating IP address. If this value is non-empty, the
    44        # corresponding floating IP will be attached to the worker nodes to serve
    45        # the applications.
    46        os_ingress_fip: '203.0.113.19'
    47  
    48        # If this value is non-empty, the corresponding floating IP will be
    49        # attached to the bootstrap machine. This is needed for collecting logs
    50        # in case of install failure.
    51        os_bootstrap_fip: '203.0.113.20'
    52  
    53        # An IPv4 address that will be assigned to the API VIP.
    54        # Be aware that the 10 and 11 of the machineNetwork will
    55        # be taken by neutron dhcp by default, and wont be available.
    56        # This value will be overwritten by the network.yaml playbook.
    57        os_apiVIP: "{{ os_subnet_range | ansible.utils.next_nth_usable(5) }}"
    58  
    59        # An IPv4 address that will be assigned to the ingress VIP.
    60        # Be aware that the 10 and 11 of the machineNetwork will
    61        # be taken by neutron dhcp by default, and wont be available.
    62        # This value will be overwritten by the network.yaml playbook.
    63        os_ingressVIP: "{{ os_subnet_range | ansible.utils.next_nth_usable(7) }}"
    64  
    65        # Set control-plane nodes to schedule workloads when number of compute
    66        # nodes is zero
    67        os_master_schedulable: "{{ os_compute_nodes_number | int == 0 }}"
    68  
    69        # IPv6 subnet CIDR. Uncomment to enable dual-stack support.
    70        #os_subnet6_range: 'fd2e:6f44:5dd8:c956::/64'
    71  
    72        # Modes are one of: slaac, dhcpv6-stateful or dhcpv6-stateless
    73        os_subnet6_address_mode: slaac
    74        os_subnet6_router_advertisements_mode: slaac
    75  
    76        # IPv6 service subnet cidr
    77        service_subnet6_range: 'fd02::/112'
    78  
    79        # IPv6 cluster network details
    80        cluster_network6_cidr: 'fd01::/48'
    81        cluster_network6_prefix: 64
    82  
    83        # An IPv6 address that will be assigned to the API VIP.
    84        # This value will be overwritten by the network.yaml playbook.
    85        os_apiVIP6: ""
    86  
    87        # An IPv6 address that will be assigned to the ingress VIP.
    88        # This value will be overwritten by the network.yaml playbook.
    89        os_ingressVIP6: ""