Files
openstack-ansible-os_nova/tasks/nova_compute.yml
Andy McCrae 6ce3958ed4 Use direct include instead of "with_first_found"
We specify the full path and are not searching for a generic file, we
should rather use a direct include instead of using "with_first_found".

Additionally, we need the include paths within drivers/virt_type to be
relative rather than absolute - otherwise these files fail to be
included properly.

Change-Id: Ie9bd6d778d134bcba28f19a5e7895ccb8bb26da9
2017-07-18 14:06:16 +01:00

27 lines
833 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: "drivers/{{ nova_virt_type }}/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