blob: ad7954aee2d861bc8ece5f0576a4251efe2d78c3 [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
45 env:
46 ANSIBLE_PIPELINING: "True"
47 inventory:
48 group_vars:
49 all:
50 atmosphere_image_repository: us-docker.pkg.dev/vexxhost-infra/openstack
51 kubernetes_hostname: 10.96.240.10
52 controllers:
53 kubernetes_keepalived_vrid: 42
54 kubernetes_keepalived_interface: ens3
55 kubernetes_keepalived_vip: 10.96.240.10
56 openstack_helm_endpoints_region_name: RegionOne
57 # Memcached
58 openstack_helm_endpoints_memcached_secret_key: 7XsFMtMoUT9c8eCqbBNJycqwIepvLYzfOI2kpYhBUJSl2X5RDHiyolaQqQp36nVR
59 # RabbitMQ
60 openstack_helm_endpoints_rabbitmq_erlang_cookie: openstack-cookie
61 openstack_helm_endpoints_rabbitmq_admin_password: password123
62 # Keystone
63 openstack_helm_endpoints_keystone_api_host: "identity.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
64 openstack_helm_endpoints_keystone_mariadb_password: keystone-mariadb-password
65 openstack_helm_endpoints_keystone_rabbitmq_password: keystone-rabbitmq-password
66 openstack_helm_endpoints_keystone_admin_password: keystone-admin-password
67 # Glance
68 openstack_helm_endpoints_glance_api_host: "image.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
69 openstack_helm_endpoints_glance_mariadb_password: glance-mariadb-password
70 openstack_helm_endpoints_glance_rabbitmq_password: glance-rabbitmq-password
71 openstack_helm_endpoints_glance_keystone_password: glance-keystone-password
72 # Cinder
73 openstack_helm_endpoints_cinder_api_host: "volume.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
74 openstack_helm_endpoints_cinder_mariadb_password: cinder-mariadb-password
75 openstack_helm_endpoints_cinder_rabbitmq_password: cinder-rabbitmq-password
76 openstack_helm_endpoints_cinder_keystone_password: cinder-keystone-password
77 # Placement
78 openstack_helm_endpoints_placement_api_host: "placement.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
79 openstack_helm_endpoints_placement_keystone_password: placement-keystone-password
80 openstack_helm_endpoints_placement_mariadb_password: placement-mariadb-password
81 # Neutron
82 openstack_helm_endpoints_neutron_api_host: "network.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
83 openstack_helm_endpoints_neutron_mariadb_password: neutron-mariadb-password
84 openstack_helm_endpoints_neutron_rabbitmq_password: neutron-rabbitmq-password
85 openstack_helm_endpoints_neutron_keystone_password: neutron-keystone-password
86 openstack_helm_endpoints_neutron_metadata_secret: neutron-metadata-secret
87 openstack_helm_neutron_values:
88 conf:
89 auto_bridge_add:
90 br-ex: ens4
91 # Nova
92 openstack_helm_endpoints_nova_api_host: "compute.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
93 openstack_helm_endpoints_nova_novnc_host: "vnc.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
94 openstack_helm_endpoints_nova_mariadb_password: nova-mariadb-password
95 openstack_helm_endpoints_nova_rabbitmq_password: nova-rabbitmq-password
96 openstack_helm_endpoints_nova_keystone_password: nova-keystone-password
97 # Ironic
98 openstack_helm_endpoints_ironic_api_host: "baremetal.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
99 openstack_helm_endpoints_ironic_mariadb_password: ironic-mariadb-password
100 openstack_helm_endpoints_ironic_rabbitmq_password: ironic-rabbitmq-password
101 openstack_helm_endpoints_ironic_keystone_password: ironic-keystone-password
102 # Designate
103 openstack_helm_endpoints_designate_api_host: "dns.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
104 openstack_helm_endpoints_designate_mariadb_password: designate-mariadb-password
105 openstack_helm_endpoints_designate_rabbitmq_password: designate-rabbitmq-password
106 openstack_helm_endpoints_designate_keystone_password: designate-keystone-password
107 # Octavia
108 openstack_helm_endpoints_octavia_api_host: "load-balancer.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
109 openstack_helm_endpoints_octavia_mariadb_password: octavia-mariadb-password
110 openstack_helm_endpoints_octavia_rabbitmq_password: octavia-rabbitmq-password
111 openstack_helm_endpoints_octavia_keystone_password: octavia-keystone-password
Mohammed Naserec814912022-03-13 01:53:37 -0500112 # Senlin
113 openstack_helm_endpoints_senlin_api_host: "clustering.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
114 openstack_helm_endpoints_senlin_mariadb_password: senlin-mariadb-password
115 openstack_helm_endpoints_senlin_rabbitmq_password: senlin-rabbitmq-password
116 openstack_helm_endpoints_senlin_keystone_password: senlin-keystone-password
Mohammed Naser336caf42022-03-11 17:56:45 -0500117 # Heat
118 openstack_helm_endpoints_heat_api_host: "orchestration.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
119 openstack_helm_endpoints_heat_keystone_password: heat-keystone-password
120 openstack_helm_endpoints_heat_trustee_keystone_password: heat-trustee-keystone-password
121 openstack_helm_endpoints_heat_stack_user_keystone_password: heat-stack-user-keystone-password
122 openstack_helm_endpoints_heat_mariadb_password: heat-mariadb-password
123 openstack_helm_endpoints_heat_rabbitmq_password: heat-rabbitmq-password
124 openstack_helm_endpoints_heat_cfn_api_host: "cloudformation.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
125 openstack_helm_heat_auth_encryption_key: heat-auth-encryption-key
126 # Horizon
127 openstack_helm_endpoints_horizon_api_host: "dashboard.{{ hostvars['ctl1']['ansible_host'].replace('.', '-') }}.nip.io"
128 openstack_helm_endpoints_horizon_mariadb_password: horizon-mariadb-password
129 cephs:
130 ceph_mon_fsid: 441193d8-fed9-485b-87f4-09245ddc1fe7
131 ceph_mon_public_network: 10.96.240.0/24
132 ceph_osds:
133 ceph_osd_devices:
134 - /dev/vdb
135 - /dev/vdc
136 - /dev/vdd
137verifier:
138 name: testinfra