Merge "Fix ansible deprecation warnings"

This commit is contained in:
Zuul 2018-12-18 10:59:07 +00:00 committed by Gerrit Code Review
commit 6cfcecf157
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
- include_tasks: repo_clone_git.yml
when:
- (repo_build_git_reclone | bool) or
(_wheel_build_requirements | changed)
(_wheel_build_requirements is changed)
tags:
- repo-clone-repos

View File

@ -1,7 +1,7 @@
{% for item in manifest_items['files'] %}
{% set item_cleaned = item['path'] | regex_replace(repo_build_base_path ~ "/", '') %}
{% set item_basename = item_cleaned | basename %}
{% if item_cleaned | match(repo_build_release_version_path + "/.*/.*\.whl") %}
{% if item_cleaned is match(repo_build_release_version_path + "/.*/.*\.whl") %}
{{ repo_build_pool_dir | regex_replace(repo_build_base_path ~ "/", '') }}/{{ item_basename.split('-')[0] }}/{{ item_basename | lower }}
{{ item_cleaned | lower }}
{% else %}