Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 1 | # Copyright (c) 2022 VEXXHOST, Inc. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 4 | # not use this file except in compliance with the License. You may obtain |
| 5 | # a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | # License for the specific language governing permissions and limitations |
| 13 | # under the License. |
| 14 | |
| 15 | dependency: |
| 16 | name: galaxy |
| 17 | driver: |
| 18 | name: delegated |
| 19 | platforms: |
| 20 | - name: ctl1 |
| 21 | groups: &controller_groups |
| 22 | - controllers |
| 23 | - cephs |
| 24 | - ceph_mons |
| 25 | - ceph_mgrs |
| 26 | - name: ctl2 |
| 27 | groups: *controller_groups |
| 28 | - name: ctl3 |
| 29 | groups: *controller_groups |
| 30 | - name: nvme1 |
| 31 | groups: &nvme_groups |
| 32 | - cephs |
| 33 | - ceph_osds |
| 34 | - name: nvme2 |
| 35 | groups: *nvme_groups |
| 36 | - name: nvme3 |
| 37 | groups: *nvme_groups |
| 38 | - name: kvm1 |
| 39 | groups: &kvm_groups |
| 40 | - computes |
| 41 | - name: kvm2 |
| 42 | groups: *kvm_groups |
| 43 | provisioner: |
| 44 | name: ansible |
Mohammed Naser | 206e5f8 | 2022-03-16 20:21:14 -0400 | [diff] [blame] | 45 | options: |
| 46 | extra-vars: "@${MOLECULE_EPHEMERAL_DIRECTORY}/secrets.yml" |
| 47 | config_options: |
| 48 | ssh_connection: |
| 49 | pipelining: true |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 50 | inventory: |
| 51 | group_vars: |
| 52 | all: |
| 53 | atmosphere_image_repository: us-docker.pkg.dev/vexxhost-infra/openstack |
| 54 | kubernetes_hostname: 10.96.240.10 |
| 55 | controllers: |
| 56 | kubernetes_keepalived_vrid: 42 |
| 57 | kubernetes_keepalived_interface: ens3 |
| 58 | kubernetes_keepalived_vip: 10.96.240.10 |
| 59 | openstack_helm_endpoints_region_name: RegionOne |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 60 | # Keystone |
| 61 | openstack_helm_endpoints_keystone_api_host: "identity.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 62 | # Glance |
| 63 | openstack_helm_endpoints_glance_api_host: "image.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 64 | # Cinder |
| 65 | openstack_helm_endpoints_cinder_api_host: "volume.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 66 | # Placement |
| 67 | openstack_helm_endpoints_placement_api_host: "placement.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 68 | # Neutron |
| 69 | openstack_helm_endpoints_neutron_api_host: "network.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 70 | openstack_helm_neutron_values: |
| 71 | conf: |
| 72 | auto_bridge_add: |
| 73 | br-ex: ens4 |
| 74 | # Nova |
| 75 | openstack_helm_endpoints_nova_api_host: "compute.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
| 76 | openstack_helm_endpoints_nova_novnc_host: "vnc.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 77 | # Ironic |
| 78 | openstack_helm_endpoints_ironic_api_host: "baremetal.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 79 | # Designate |
| 80 | openstack_helm_endpoints_designate_api_host: "dns.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 81 | # Octavia |
| 82 | openstack_helm_endpoints_octavia_api_host: "load-balancer.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | ec81491 | 2022-03-13 01:53:37 -0500 | [diff] [blame] | 83 | # Senlin |
| 84 | openstack_helm_endpoints_senlin_api_host: "clustering.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 85 | # Heat |
| 86 | openstack_helm_endpoints_heat_api_host: "orchestration.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 87 | openstack_helm_endpoints_heat_cfn_api_host: "cloudformation.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 88 | # Horizon |
| 89 | openstack_helm_endpoints_horizon_api_host: "dashboard.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 90 | cephs: |
| 91 | ceph_mon_fsid: 441193d8-fed9-485b-87f4-09245ddc1fe7 |
| 92 | ceph_mon_public_network: 10.96.240.0/24 |
| 93 | ceph_osds: |
| 94 | ceph_osd_devices: |
| 95 | - /dev/vdb |
| 96 | - /dev/vdc |
| 97 | - /dev/vdd |
| 98 | verifier: |
| 99 | name: testinfra |