blob: d6415d8d9c8d63956e50959b30e70b13c45583aa [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
31- name: Deploy OpenStack
32 ansible.builtin.import_playbook: vexxhost.atmosphere.openstack
33
34- name: Configure networking
35 hosts: all
36 tasks:
37 - name: Add IP address to "br-ex"
38 changed_when: false
39 ansible.builtin.shell:
40 cmd: ip addr add 10.96.250.10/24 dev br-ex || true
41
42 - name: Set "br-ex" interface to "up"
43 changed_when: false
44 ansible.builtin.shell:
45 cmd: ip link set br-ex up || true