blob: bd08db211978cafc94a67254535f1e9cd148575c [file] [log] [blame]
Mohammed Naser336caf42022-03-11 17:56:45 -05001# 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
15dependency:
16 name: galaxy
17driver:
18 name: delegated
19platforms:
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
43provisioner:
44 name: ansible
Mohammed Naser206e5f82022-03-16 20:21:14 -040045 options:
46 extra-vars: "@${MOLECULE_EPHEMERAL_DIRECTORY}/secrets.yml"
47 config_options:
48 ssh_connection:
49 pipelining: true
Mohammed Naser336caf42022-03-11 17:56:45 -050050 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 Naser336caf42022-03-11 17:56:45 -050060 # Keystone
61 openstack_helm_endpoints_keystone_api_host: "identity.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050062 # Glance
63 openstack_helm_endpoints_glance_api_host: "image.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050064 # Cinder
65 openstack_helm_endpoints_cinder_api_host: "volume.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050066 # Placement
67 openstack_helm_endpoints_placement_api_host: "placement.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050068 # Neutron
69 openstack_helm_endpoints_neutron_api_host: "network.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050070 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 Naser336caf42022-03-11 17:56:45 -050077 # Ironic
78 openstack_helm_endpoints_ironic_api_host: "baremetal.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050079 # Designate
80 openstack_helm_endpoints_designate_api_host: "dns.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050081 # Octavia
82 openstack_helm_endpoints_octavia_api_host: "load-balancer.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naserec814912022-03-13 01:53:37 -050083 # Senlin
84 openstack_helm_endpoints_senlin_api_host: "clustering.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050085 # Heat
86 openstack_helm_endpoints_heat_api_host: "orchestration.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050087 openstack_helm_endpoints_heat_cfn_api_host: "cloudformation.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
Mohammed Naser336caf42022-03-11 17:56:45 -050088 # Horizon
89 openstack_helm_endpoints_horizon_api_host: "dashboard.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
90 openstack_helm_endpoints_horizon_mariadb_password: horizon-mariadb-password
91 cephs:
92 ceph_mon_fsid: 441193d8-fed9-485b-87f4-09245ddc1fe7
93 ceph_mon_public_network: 10.96.240.0/24
94 ceph_osds:
95 ceph_osd_devices:
96 - /dev/vdb
97 - /dev/vdc
98 - /dev/vdd
99verifier:
100 name: testinfra