blob: 7da0738f717e4d36771f4b9c7a86577e3fbad8dc [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
Rico Line7132672024-02-28 00:10:53 +080016 ansible.builtin.import_playbook: vexxhost.atmosphere.ceph
Mohammed Naser12207172024-02-05 18:49:35 -050017
18- name: Install Kubernetes
19 ansible.builtin.import_playbook: vexxhost.atmosphere.kubernetes
20
21- name: Install CSI
22 ansible.builtin.import_playbook: vexxhost.atmosphere.csi
23
24- name: Deploy Infrastructure
25 ansible.builtin.import_playbook: vexxhost.atmosphere.infrastructure
26
Mohammed Naser91e2fa02024-02-23 01:46:39 -050027- name: Deploy Monitoring stack
28 ansible.builtin.import_playbook: vexxhost.atmosphere.monitoring
29
Mohammed Naser12207172024-02-05 18:49:35 -050030- name: Deploy OpenStack
31 ansible.builtin.import_playbook: vexxhost.atmosphere.openstack
32
33- name: Configure networking
34 hosts: all
35 tasks:
36 - name: Add IP address to "br-ex"
37 changed_when: false
38 ansible.builtin.shell:
39 cmd: ip addr add 10.96.250.10/24 dev br-ex || true
40
41 - name: Set "br-ex" interface to "up"
42 changed_when: false
43 ansible.builtin.shell:
44 cmd: ip link set br-ex up || true