Add setup_hosts playbook to plugins collection.
This is the same functionality as in the openstack-ansible repo setup-hosts playbook, end eventually will be called by it. Change-Id: Ie591aa51b16f0d6ae48f1e83e7b103ead5459312
This commit is contained in:
3
playbooks/hook_dummy.yml
Normal file
3
playbooks/hook_dummy.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
- name: Placeholder hook
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
38
playbooks/setup_hosts.yml
Normal file
38
playbooks/setup_hosts.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
# 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('openstack.osa.hook_dummy') }}"
|
||||
|
||||
- name: Importing certificate_authority playbook
|
||||
import_playbook: openstack.osa.certificate_authority
|
||||
|
||||
- name: Importing certificate_ssh_authority playbook
|
||||
import_playbook: openstack.osa.certificate_ssh_authority
|
||||
|
||||
- name: Importing certificate_generate playbook
|
||||
import_playbook: openstack.osa.certificate_generate
|
||||
|
||||
- name: Importing openstack_hosts_setup playbook
|
||||
import_playbook: openstack.osa.openstack_hosts_setup
|
||||
|
||||
- name: Importing containers_deploy playbook
|
||||
import_playbook: openstack.osa.containers_deploy
|
||||
|
||||
- name: Importing security-hardening playbook
|
||||
import_playbook: openstack.osa.security_hardening
|
||||
|
||||
- name: Importing post hook playbook
|
||||
import_playbook: "{{ post_setup_hosts_hook | default('openstack.osa.hook_dummy') }}"
|
||||
Reference in New Issue
Block a user