03e9c6b69e
This patch adds variables which when can be used to extend openstack ansible by calling additional user defined playbooks at the start and end of the main setup-* playbooks. Change-Id: Ic55dd6447f603d91beaeea28beb04e4c1393d6af
39 lines
1.3 KiB
YAML
39 lines
1.3 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_hosts_hook | default('hook-dummy.yml') }}"
|
|
|
|
- name: Importing certificate-authority playbook
|
|
import_playbook: certificate-authority.yml
|
|
|
|
- name: Importing certificate-ssh-authority playbook
|
|
import_playbook: certificate-ssh-authority.yml
|
|
|
|
- name: Importing certificate-generate playbook
|
|
import_playbook: certificate-generate.yml
|
|
|
|
- name: Importing openstack-hosts-setup playbook
|
|
import_playbook: openstack-hosts-setup.yml
|
|
|
|
- name: Importing containers-deploy playbook
|
|
import_playbook: containers-deploy.yml
|
|
|
|
- name: Importing security-hardening playbook
|
|
import_playbook: security-hardening.yml
|
|
|
|
- name: Importing post hook playbook
|
|
import_playbook: "{{ post_setup_hosts_hook | default('hook-dummy.yml') }}"
|