bifrost/playbooks/roles/bifrost-prep-for-install/tasks/git_download.yaml
stephane b53bc8be17 Use parameterized include for repeated git tasks
Streamline repeated git tasks by converting them
into a playbook to be used with different
parameters.

Change-Id: If66c72e30dc77056f811b1a1a012062054ff240c
2015-10-05 12:12:24 -07:00

35 lines
1.1 KiB
YAML

# Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
#
# 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: git.yml
git_url="{{ ironic_git_url }}"
git_folder="{{ ironic_git_folder }}"
git_branch="{{ ironic_git_branch }}"
- include: git.yml
git_url="{{ ironicclient_git_url }}"
git_folder="{{ ironicclient_git_folder }}"
git_branch="{{ ironicclient_git_branch }}"
- include: git.yml
git_url="{{ shade_git_url }}"
git_folder="{{ shade_git_folder }}"
git_branch="{{ shade_git_branch }}"
- include: git.yml
git_url="{{ dib_git_url }}"
git_folder="{{ dib_git_folder }}"
git_branch="{{ dib_git_branch }}"