openstack-ansible-os_ironic/tasks/main.yml
Jesse Pretorius 75e85cff4c Consolidate pip install tasks
The pip install tasks were distributed into many files with no clear
benefit from doing so. This patch consolidates the pip install tasks
to ensure that they are all handled together, are all installed into
the appropriate venv, and all use the right constraints.

Change-Id: I8bad68c57c0ffa986817aa80d79e9d2ab4b86a3d
2016-03-22 14:43:39 +00:00

46 lines
1.3 KiB
YAML

---
# Copyright 2015, 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.
- include: ironic_pre_install.yml
- include: ironic_install.yml
- include: ironic_api_install.yml
when: >
inventory_hostname in groups['ironic_api']
- include: ironic_conductor_install.yml
when: >
inventory_hostname in groups['ironic_conductor']
- include: ironic_post_install.yml
- include: ironic_api_post_install.yml
when: >
inventory_hostname in groups['ironic_api']
- include: ironic_conductor_post_install.yml
when: >
inventory_hostname in groups['ironic_conductor']
- include: ironic_db_setup.yml
when: >
inventory_hostname == groups['ironic_conductor'][0]
- include: ironic_upstart_init.yml
- include: ironic_service_setup.yml
when: >
inventory_hostname == groups['ironic_api'][0]