openstack-ansible/playbooks/setup-infrastructure.yml
Jonathan Rosser 120d6be992 Switch to ceph-ansible stable-8.0
This patch includes the openstack specific pool configuration that
previously was in ceph-ansible, and also adds a playbook to configure

ceph pools and distribute the keys to all monitor hosts.

Co-Authored-By: Damian Dabrowski <damian.dabrowski@cleura.com>

Change-Id: Ic55daf6ba7fdb47525ee1913f70e87296383866d
2024-07-10 09:27:28 +00:00

64 lines
2.1 KiB
YAML

---
# Copyright 2014, Rackspace US, 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: Importing pre hook playbook
import_playbook: "{{ pre_setup_infrastructure_hook | default('hook-dummy.yml') }}"
- name: Importing unbound-install playbook
import_playbook: unbound-install.yml
- name: Importing haproxy-install playbook
import_playbook: haproxy-install.yml
- name: Importing repo-install playbook
import_playbook: repo-install.yml
- name: Importing memcached-install playbook
import_playbook: memcached-install.yml
- name: Importing galera-install playbook
import_playbook: galera-install.yml
- name: Importing qdrouterd-install playbook
import_playbook: qdrouterd-install.yml
- name: Importing rabbitmq-install playbook
import_playbook: rabbitmq-install.yml
- name: Importing utility-install playbook
import_playbook: utility-install.yml
- name: Importing zookeeper-install playbook
import_playbook: zookeeper-install.yml
- name: Importing ceph-install playbook
import_playbook: ceph-install.yml
- name: Importing ceph-pools playbook
import_playbook: ceph-pools.yml
- name: Importing ceph-nfs-install playbook
import_playbook: ceph-nfs-install.yml
# The journald-remote should be disabled by default until
# https://github.com/systemd/systemd/issues/2376 has been
# incorporated in current systemd packages
- name: Importing infra-journal-remote playbook
import_playbook: infra-journal-remote.yml
when: journald_remote_enabled | default (false) | bool
- name: Importing post hook playbook
import_playbook: "{{ post_setup_infrastructure_hook | default('hook-dummy.yml') }}"