openstack-ansible/playbooks/repo-build.yml
Kevin Carter 98e77caa18
Remove excessive tags
This change simply removes all of the named tags being used within the
repo-build playbook. Because the lookup needs to be executed everytime
the playbook is called it makes a lot more sense for this playbook to
use the "always" tag instead of a mix of all of the above.

Change-Id: I1ba96a731f22e65045370f43656b743943fed365
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-07-11 17:20:09 -05:00

38 lines
1.1 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.
- name: Build new repo packages for a given release
hosts: repo_all[0]
gather_facts: true
user: root
pre_tasks:
- name: Load local packages
debug:
msg: "Loading Packages"
with_py_pkgs: "{{ pkg_locations }}"
register: local_packages
tags:
- always
roles:
- role: "repo_build"
repo_build_release_tag: "{{ openstack_release }}"
tags:
- "repo-build"
vars:
pkg_locations:
- ../
- /etc/ansible/roles
- /etc/openstack_deploy