openstack-ansible/playbooks/setup-infrastructure.yml

61 lines
2.0 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-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') }}"