blob: 234aec83f674a75389b333a1b1549bba298cea2a [file] [log] [blame]
Mohammed Naser12207172024-02-05 18:49:35 -05001# Copyright (c) 2024 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
15- name: Install Ceph
16 ansible.builtin.import_playbook: vexxhost.ceph.site
17 vars:
18 # TODO(mnaser): Drop this once we switch to vexxhost.ceph 3.0.0
19 ceph_version: 18.2.1
20 ceph_repository_version: 18.2.1
21
22- name: Install Kubernetes
23 ansible.builtin.import_playbook: vexxhost.atmosphere.kubernetes
24
25- name: Install CSI
26 ansible.builtin.import_playbook: vexxhost.atmosphere.csi
27
28- name: Deploy Infrastructure
29 ansible.builtin.import_playbook: vexxhost.atmosphere.infrastructure
30
Mohammed Naser91e2fa02024-02-23 01:46:39 -050031- name: Deploy Monitoring stack
32 ansible.builtin.import_playbook: vexxhost.atmosphere.monitoring
33
Mohammed Naser12207172024-02-05 18:49:35 -050034- name: Deploy OpenStack
35 ansible.builtin.import_playbook: vexxhost.atmosphere.openstack
36
37- name: Configure networking
38 hosts: all
39 tasks:
40 - name: Add IP address to "br-ex"
41 changed_when: false
42 ansible.builtin.shell:
43 cmd: ip addr add 10.96.250.10/24 dev br-ex || true
44
45 - name: Set "br-ex" interface to "up"
46 changed_when: false
47 ansible.builtin.shell:
48 cmd: ip link set br-ex up || true