Files
openstack-ansible-plugins/playbooks/setup_infrastructure.yml
Dmitriy Rabotyagov 6f0c7051ab Use FQCN in playbooks
This converts ansible module usage to FQCN along with some minor
linting fixes.

Change-Id: I9932bfdc23d0fd3e0632b2433ed8ccea0e8c3a1e
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2025-08-11 19:36:58 +02:00

61 lines
2.3 KiB
YAML

---
# Copyright 2024, BBC R&D
#
# 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
ansible.builtin.import_playbook: "{{ pre_setup_infrastructure_hook | default('openstack.osa.hook_dummy') }}"
- name: Importing unbound playbook
ansible.builtin.import_playbook: openstack.osa.unbound
- name: Importing haproxy playbook
ansible.builtin.import_playbook: openstack.osa.haproxy
- name: Importing repo playbook
ansible.builtin.import_playbook: openstack.osa.repo
- name: Importing memcached playbook
ansible.builtin.import_playbook: openstack.osa.memcached
- name: Importing galera playbook
ansible.builtin.import_playbook: openstack.osa.galera_server
- name: Importing rabbitmq playbook
ansible.builtin.import_playbook: openstack.osa.rabbitmq_server
- name: Importing utility_host playbook
ansible.builtin.import_playbook: openstack.osa.utility_host
- name: Importing zookeeper playbook
ansible.builtin.import_playbook: openstack.osa.zookeeper
- name: Importing ceph-install playbook
ansible.builtin.import_playbook: openstack.osa.ceph_install.yml
- name: Importing ceph-pools playbook
ansible.builtin.import_playbook: openstack.osa.ceph_pools.yml
- name: Importing ceph-nfs-install playbook
ansible.builtin.import_playbook: openstack.osa.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
ansible.builtin.import_playbook: openstack.osa.infra_journal_remote.yml
when: journald_remote_enabled | default (false) | bool
- name: Importing post hook playbook
ansible.builtin.import_playbook: "{{ post_setup_infrastructure_hook | default('openstack.osa.hook_dummy') }}"