blob: be3cc7c869ef017aef838a615b7aea1a8d85864f [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
Mohammed Naserb7b97d62022-03-12 16:30:00 -050062
Mohammed Naserab3d88b2023-04-09 17:27:05 -040063- name: Configure operating system
64 hosts: controllers:computes
65 become: true
66 gather_facts: false
67 roles:
68 - role: lpfc
69 tags:
70 - lpfc
71
Mohammed Naserff42bb32023-06-03 13:42:14 -040072 - role: multipathd
73 tags:
74 - multipathd
75
Mohammed Naser179bf0d2023-02-17 23:03:23 +000076- name: Deploy Open vSwitch
77 hosts: controllers:computes
78 become: true
79 gather_facts: false
80 roles:
Mohammed Naser2145fc32023-01-29 23:23:03 +000081 - role: openvswitch
Mohammed Naserb7b97d62022-03-12 16:30:00 -050082 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000083 - openvswitch
Mohammed Naserb7b97d62022-03-12 16:30:00 -050084
Mohammed Naser179bf0d2023-02-17 23:03:23 +000085- hosts: controllers[0]
86 become: true
87 roles:
Mohammed Naserc4499c12023-09-21 10:24:54 -040088 - role: ovn
89 tags:
90 - ovn
91
Mohammed Naser2145fc32023-01-29 23:23:03 +000092 - role: libvirt
Mohammed Naserb7b97d62022-03-12 16:30:00 -050093 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +000094 - libvirt
Mohammed Naserb7b97d62022-03-12 16:30:00 -050095
Mohammed Naser462cd792022-08-22 14:17:20 -040096 - role: coredns
97 tags:
98 - coredns
99
Mohammed Naser2145fc32023-01-29 23:23:03 +0000100 - role: nova
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500101 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000102 - nova
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500103
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100104 - role: neutron
105 tags:
106 - neutron
107
Mohammed Naser2145fc32023-01-29 23:23:03 +0000108 - role: senlin
Mohammed Naserec814912022-03-13 01:53:37 -0500109 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000110 - senlin
Mohammed Naserec814912022-03-13 01:53:37 -0500111
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000112 # NOTE(mnaser): This is disabled out of the box until we have a native way
113 # of configuring it with a pre-configured backend out of the
114 # box.
Mohammed Naser2145fc32023-01-29 23:23:03 +0000115 # - role: designate
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000116 # tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000117 # - designate
Mohammed Naser9c17edd2022-12-06 02:27:51 +0000118
Mohammed Naser2145fc32023-01-29 23:23:03 +0000119 - role: heat
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500120 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000121 - heat
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500122
Mohammed Naser2145fc32023-01-29 23:23:03 +0000123 - role: octavia
okozachenko1203d8d2aa12022-10-22 00:55:14 +1100124 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000125 - octavia
okozachenko1203d8d2aa12022-10-22 00:55:14 +1100126
Mohammed Naser2145fc32023-01-29 23:23:03 +0000127 - role: magnum
Mohammed Naser096ade02022-12-15 09:53:33 -0500128 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000129 - magnum
Mohammed Naser096ade02022-12-15 09:53:33 -0500130
okozachenko1203f916c0c2023-03-23 21:13:27 +1100131 - role: manila
132 tags:
133 - manila
134
Mohammed Naser2145fc32023-01-29 23:23:03 +0000135 - role: horizon
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500136 tags:
Mohammed Naser2145fc32023-01-29 23:23:03 +0000137 - horizon
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500138
guilhermesteinmuller86a88b62022-05-27 16:45:49 +0000139 - role: openstack_exporter
140 tags:
141 - openstack-exporter
142
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500143- hosts: controllers
Mohammed Naser76605b12022-10-01 20:48:57 +0000144 become: true
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500145 roles:
146 - role: openstack_cli
147 tags:
148 - openstack-cli