Files
openstack-ansible-plugins/playbooks/setup_hosts.yml
Dmitriy Rabotyagov 1d080a13a5 Implement post openstack_hosts playbook
There are usecases, where deployer might want to have a hook
after openstack_hosts are configured in terms of networks, mounts
and etc, but before LXC containers are spawned.

Change-Id: Iac71e4b29af1c8bfe9d350b3b117cf7de7de6451
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2025-08-18 12:40:33 +00:00

42 lines
1.7 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
ansible.builtin.import_playbook: "{{ pre_setup_hosts_hook | default('openstack.osa.hook_dummy') }}"
- name: Importing certificate_authority playbook
ansible.builtin.import_playbook: openstack.osa.certificate_authority
- name: Importing certificate_ssh_authority playbook
ansible.builtin.import_playbook: openstack.osa.certificate_ssh_authority
- name: Importing certificate_generate playbook
ansible.builtin.import_playbook: openstack.osa.certificate_generate
- name: Importing openstack_hosts_setup playbook
ansible.builtin.import_playbook: openstack.osa.openstack_hosts_setup
- name: Importing post metal configuration playbook
ansible.builtin.import_playbook: "{{ post_metal_configuration_hook | default('openstack.osa.hook_dummy') }}"
- name: Importing containers_deploy playbook
ansible.builtin.import_playbook: openstack.osa.containers_deploy
- name: Importing security-hardening playbook
ansible.builtin.import_playbook: openstack.osa.security_hardening
- name: Importing post hook playbook
ansible.builtin.import_playbook: "{{ post_setup_hosts_hook | default('openstack.osa.hook_dummy') }}"