#set cluster_name = $getVar('name', '') #set controllers = $getVar('allinone_compute', []) #if not $isinstance($controllers, list) #set controllers = [$controllers] #end if #for controller in $controllers #set controller_ip = $controller.management.ip #set controller_hostname = $controller.hostname controller_host: $controller_ip #end for #for network in $controllers #set network_external_nic = $network.external.interface #set network_external_subnet = $network.external.subnet #set network_internal_nic = $network.management.interface INTERFACE_NAME: $network_external_nic INTERNAL_INTERFACE: $network_internal_nic #end for compute_controller_host: "{{ controller_host }}" db_host: "{{ controller_host }}" rabbit_host: "{{ controller_host }}" storage_controller_host: "{{ controller_host }}" image_host: "{{ controller_host }}" identity_host: "{{ controller_host }}" network_server_host: "{{ controller_host }}" dashboard_host: "{{ controller_host }}" cluster_name: $cluster_name odl_controller: 10.1.0.15 DEBUG: true VERBOSE: true NTP_SERVER_LOCAL: "{{ controller_host }}" DB_HOST: "{{ controller_host }}" MQ_BROKER: rabbitmq OPENSTACK_REPO: cloudarchive-ocata.list ocata_cloud_archive: deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main ADMIN_TOKEN: admin CEILOMETER_TOKEN: c095d479023a0fd58a54 NEUTRON_TYPE_DRIVERS: ['flat', 'gre', 'vxlan'] NEUTRON_TENANT_NETWORK_TYPES: ['vxlan'] #NEUTRON_MECHANISM_DRIVERS: ['opendaylight'] NEUTRON_MECHANISM_DRIVERS: ['openvswitch'] NEUTRON_TUNNEL_TYPES: ['vxlan'] METADATA_SECRET: metadata_secret INSTANCE_TUNNELS_INTERFACE_IP_ADDRESS: 10.1.1.21 EXTERNAL_NETWORK_CIDR: 203.0.113.0/24 EXTERNAL_NETWORK_GATEWAY: 203.0.113.1 FLOATING_IP_START: 203.0.113.101 FLOATING_IP_END: 203.0.113.200 build_in_image: http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img build_in_image_name: cirros-0.3.3-x86_64-disk.img physical_device: /dev/sdb internal_interface: "ansible_{{ INTERNAL_INTERFACE }}" internal_ip: "{{ hostvars[inventory_hostname][internal_interface]['ipv4']['address'] }}" HA_VIP: "{{ internal_ip }}" odl_username: admin odl_password: admin odl_api_port: 8080