openstack-ansible-os_nova/tasks/nova_compute.yml
Major Hayden bdf7eb76a9 Combine package install tasks
This patch brings over the one-task package installation pattern from
the security role and uses async to allow the package install to run
while the virtual environment is downloaded/extracted.

This should hopefully save time during the gate jobs since the nova
KVM package install is one of the longest package install jobs in OSA.

It also uses Ansible 2.0's ability to use variables in task includes
to avoid running a ton of skipped tasks.

Change-Id: I1e9259413d14670cf7f5bbc46eacc15837982779
2017-02-06 08:56:14 -06:00

27 lines
804 B
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.
- include: "nova_compute_{{ nova_virt_type }}.yml"
tags:
- nova-install
- include: nova_compute_key_populate.yml
tags:
- nova-config
- include: nova_compute_key_distribute.yml
tags:
- nova-config