blob: abd58431b2db5cf1fe546c0b667f308e3072b2a1 [file] [log] [blame]
Mohammed Naserb7b97d62022-03-12 16:30:00 -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
Mohammed Naser12207172024-02-05 18:49:35 -050015- name: Deploy OpenStack
16 hosts: controllers[0]
Mohammed Naserc8e1a452022-08-11 16:16:13 -040017 become: true
18 roles:
Mohammed Naser5826c0b2023-01-26 19:10:54 +000019 - role: memcached
20 tags:
21 - memcached
22
Mohammed Naser2145fc32023-01-29 23:23:03 +000023 - role: keystone
Mohammed Naserb7b97d62022-03-12 16:30:00 -050024 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000025 - keystone
Mohammed Naserb7b97d62022-03-12 16:30:00 -050026
Mohammed Naser2145fc32023-01-29 23:23:03 +000027 - role: barbican
Julian Poss0aad3332022-05-18 09:37:20 +000028 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000029 - barbican
Julian Poss0aad3332022-05-18 09:37:20 +000030
Mohammed Naser0d421e22023-02-09 21:42:38 -050031 - role: rook_ceph
32 when: atmosphere_ceph_enabled | default(true)
33 tags:
34 - rook-ceph
35
Mohammed Naser3b655592023-02-10 05:59:10 +000036 - role: rook_ceph_cluster
37 when: atmosphere_ceph_enabled | default(true)
38 tags:
39 - rook-ceph-cluster
40
Mohammed Naser2145fc32023-01-29 23:23:03 +000041 - role: ceph_provisioners
Mohammed Naser92f11502022-08-10 17:24:32 -040042 when: atmosphere_ceph_enabled | default(true)
Mohammed Naserb7b97d62022-03-12 16:30:00 -050043 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000044 - ceph-provisioners
Mohammed Naserb7b97d62022-03-12 16:30:00 -050045
Mohammed Naser2145fc32023-01-29 23:23:03 +000046 - role: glance
Mohammed Naserb7b97d62022-03-12 16:30:00 -050047 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000048 - glance
Mohammed Naserb7b97d62022-03-12 16:30:00 -050049
Rico Lind020bc22023-11-01 01:57:03 +080050 - role: staffeln
51 when: atmosphere_staffeln_enabled | default(true)
52 tags:
53 - staffeln
54
Mohammed Naser2145fc32023-01-29 23:23:03 +000055 - role: cinder
Mohammed Naserb7b97d62022-03-12 16:30:00 -050056 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000057 - cinder
Mohammed Naserb7b97d62022-03-12 16:30:00 -050058
Mohammed Naser2145fc32023-01-29 23:23:03 +000059 - role: placement
Mohammed Naserb7b97d62022-03-12 16:30:00 -050060 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000061 - placement
Rico Line7132672024-02-28 00:10:53 +080062 environment:
63 CEPH_CONTAINER_IMAGE: "{{ cephadm_image | default('quay.io/ceph/ceph:v' + (ceph_version | default('18.2.1'))) }}"
64 CEPH_CONTAINER_BINARY: docker
Mohammed Naserb7b97d62022-03-12 16:30:00 -050065
Mohammed Naserab3d88b2023-04-09 17:27:05 -040066- name: Configure operating system
67 hosts: controllers:computes
68 become: true
Mohammed Naserab3d88b2023-04-09 17:27:05 -040069 roles:
70 - role: lpfc
71 tags:
72 - lpfc
73
Mohammed Naserff42bb32023-06-03 13:42:14 -040074 - role: multipathd
75 tags:
76 - multipathd
77
vexxhost-botcd367382024-10-04 19:41:43 -040078 - role: iscsi
79 tags:
80 - iscsi
81
guilhermesteinmuller8d059c22025-01-16 16:51:48 -030082- name: Deploy SDN
Mohammed Naser179bf0d2023-02-17 23:03:23 +000083 hosts: controllers:computes
84 become: true
85 gather_facts: false
86 roles:
Mohammed Naser2145fc32023-01-29 23:23:03 +000087 - role: openvswitch
Mohammed Naserb7b97d62022-03-12 16:30:00 -050088 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000089 - openvswitch
Mohammed Naserb7b97d62022-03-12 16:30:00 -050090
Mohammed Naserc4499c12023-09-21 10:24:54 -040091 - role: ovn
92 tags:
93 - ovn
94
guilhermesteinmuller8d059c22025-01-16 16:51:48 -030095- hosts: controllers[0]
96 become: true
97 roles:
Mohammed Naser2145fc32023-01-29 23:23:03 +000098 - role: libvirt
Mohammed Naserb7b97d62022-03-12 16:30:00 -050099 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000100 - libvirt
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500101
Mohammed Naser462cd792022-08-22 14:17:20 -0400102 - role: coredns
103 tags:
104 - coredns
105
Mohammed Naser2145fc32023-01-29 23:23:03 +0000106 - role: nova
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500107 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000108 - nova
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500109
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100110 - role: neutron
111 tags:
112 - neutron
113
Mohammed Naser2145fc32023-01-29 23:23:03 +0000114 - role: senlin
Mohammed Naserec814912022-03-13 01:53:37 -0500115 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000116 - senlin
Mohammed Naserec814912022-03-13 01:53:37 -0500117
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000118 # NOTE(mnaser): This is disabled out of the box until we have a native way
119 # of configuring it with a pre-configured backend out of the
120 # box.
Mohammed Naser2145fc32023-01-29 23:23:03 +0000121 # - role: designate
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000122 # tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000123 # - designate
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000124
Mohammed Naser2145fc32023-01-29 23:23:03 +0000125 - role: heat
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500126 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000127 - heat
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500128
Mohammed Naser2145fc32023-01-29 23:23:03 +0000129 - role: octavia
okozachenko1203d8d2aa12022-10-22 00:55:14 +1100130 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000131 - octavia
okozachenko1203d8d2aa12022-10-22 00:55:14 +1100132
Mohammed Naser2145fc32023-01-29 23:23:03 +0000133 - role: magnum
Mohammed Naser096ade02022-12-15 09:53:33 -0500134 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000135 - magnum
Mohammed Naser096ade02022-12-15 09:53:33 -0500136
okozachenko1203f916c0c2023-03-23 21:13:27 +1100137 - role: manila
138 tags:
139 - manila
140
Mohammed Naser2145fc32023-01-29 23:23:03 +0000141 - role: horizon
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500142 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000143 - horizon
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500144
guilhermesteinmuller86a88b62022-05-27 16:45:49 +0000145 - role: openstack_exporter
146 tags:
147 - openstack-exporter
148
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500149- hosts: controllers
Mohammed Naser76605b12022-10-01 20:48:57 +0000150 become: true
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500151 roles:
152 - role: openstack_cli
153 tags:
154 - openstack-cli