blob: 13d1695660ac5ca70fdba4905790c967e2d36554 [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
69 gather_facts: false
70 roles:
71 - role: lpfc
72 tags:
73 - lpfc
74
Mohammed Naserff42bb32023-06-03 13:42:14 -040075 - role: multipathd
76 tags:
77 - multipathd
78
Mohammed Naser179bf0d2023-02-17 23:03:23 +000079- name: Deploy Open vSwitch
80 hosts: controllers:computes
81 become: true
82 gather_facts: false
83 roles:
Mohammed Naser2145fc32023-01-29 23:23:03 +000084 - role: openvswitch
Mohammed Naserb7b97d62022-03-12 16:30:00 -050085 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000086 - openvswitch
Mohammed Naserb7b97d62022-03-12 16:30:00 -050087
Mohammed Naser179bf0d2023-02-17 23:03:23 +000088- hosts: controllers[0]
89 become: true
90 roles:
Mohammed Naserc4499c12023-09-21 10:24:54 -040091 - role: ovn
92 tags:
93 - ovn
94
Mohammed Naser2145fc32023-01-29 23:23:03 +000095 - role: libvirt
Mohammed Naserb7b97d62022-03-12 16:30:00 -050096 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000097 - libvirt
Mohammed Naserb7b97d62022-03-12 16:30:00 -050098
Mohammed Naser462cd792022-08-22 14:17:20 -040099 - role: coredns
100 tags:
101 - coredns
102
Mohammed Naser2145fc32023-01-29 23:23:03 +0000103 - role: nova
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500104 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000105 - nova
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500106
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100107 - role: neutron
108 tags:
109 - neutron
110
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000111 # NOTE(mnaser): This is disabled out of the box until we have a native way
112 # of configuring it with a pre-configured backend out of the
113 # box.
Mohammed Naser2145fc32023-01-29 23:23:03 +0000114 # - role: designate
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000115 # tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000116 # - designate
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000117
Mohammed Naser2145fc32023-01-29 23:23:03 +0000118 - role: heat
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500119 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000120 - heat
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500121
Mohammed Naser2145fc32023-01-29 23:23:03 +0000122 - role: octavia
okozachenko1203d8d2aa12022-10-22 00:55:14 +1100123 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000124 - octavia
okozachenko1203d8d2aa12022-10-22 00:55:14 +1100125
Mohammed Naser2145fc32023-01-29 23:23:03 +0000126 - role: magnum
Mohammed Naser096ade02022-12-15 09:53:33 -0500127 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000128 - magnum
Mohammed Naser096ade02022-12-15 09:53:33 -0500129
okozachenko1203f916c0c2023-03-23 21:13:27 +1100130 - role: manila
131 tags:
132 - manila
133
Mohammed Naser2145fc32023-01-29 23:23:03 +0000134 - role: horizon
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500135 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000136 - horizon
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500137
guilhermesteinmuller86a88b62022-05-27 16:45:49 +0000138 - role: openstack_exporter
139 tags:
140 - openstack-exporter
141
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500142- hosts: controllers
Mohammed Naser76605b12022-10-01 20:48:57 +0000143 become: true
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500144 roles:
145 - role: openstack_cli
146 tags:
147 - openstack-cli