blob: 234aec83f674a75389b333a1b1549bba298cea2a [file] [log] [blame]
# Copyright (c) 2024 VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
- name: Install Ceph
ansible.builtin.import_playbook: vexxhost.ceph.site
vars:
# TODO(mnaser): Drop this once we switch to vexxhost.ceph 3.0.0
ceph_version: 18.2.1
ceph_repository_version: 18.2.1
- name: Install Kubernetes
ansible.builtin.import_playbook: vexxhost.atmosphere.kubernetes
- name: Install CSI
ansible.builtin.import_playbook: vexxhost.atmosphere.csi
- name: Deploy Infrastructure
ansible.builtin.import_playbook: vexxhost.atmosphere.infrastructure
- name: Deploy Monitoring stack
ansible.builtin.import_playbook: vexxhost.atmosphere.monitoring
- name: Deploy OpenStack
ansible.builtin.import_playbook: vexxhost.atmosphere.openstack
- name: Configure networking
hosts: all
tasks:
- name: Add IP address to "br-ex"
changed_when: false
ansible.builtin.shell:
cmd: ip addr add 10.96.250.10/24 dev br-ex || true
- name: Set "br-ex" interface to "up"
changed_when: false
ansible.builtin.shell:
cmd: ip link set br-ex up || true