Merge "use include_tasks instead of include"

This commit is contained in:
Zuul 2018-09-08 21:02:23 +00:00 committed by Gerrit Code Review
commit 1b14f522d4
3 changed files with 10 additions and 10 deletions

View File

@ -24,11 +24,11 @@
tags:
- always
- include: repo_build_install.yml
- include_tasks: repo_build_install.yml
tags:
- repo-build-install
- include: repo_build_prepare.yml
- include_tasks: repo_build_prepare.yml
tags:
- always
@ -39,20 +39,20 @@
tags:
- always
- include: repo_build_wheels.yml
- include_tasks: repo_build_wheels.yml
when:
- ansible_local['openstack_ansible']['repo_build']['need_wheel_build'] | bool
tags:
- repo-build-wheels
- include: repo_build_venvs.yml
- include_tasks: repo_build_venvs.yml
tags:
- repo-build-venvs
- include: repo_build_index.yml
- include_tasks: repo_build_index.yml
tags:
- repo-build-index
# Synchronize all built packages back to the repo master
- include: repo_package_sync.yml
- include_tasks: repo_package_sync.yml
when: inventory_hostname != groups['repo_all'][0]

View File

@ -44,7 +44,7 @@
dest: "{{ repo_build_release_path }}/requirements.txt"
register: _wheel_build_requirements
- include: repo_clone_git.yml
- include_tasks: repo_clone_git.yml
when:
- (repo_build_git_reclone | bool) or
(_wheel_build_requirements | changed)

View File

@ -14,10 +14,10 @@
# limitations under the License.
# Prepare the host
- include: common/test-setup-host.yml
- import_playbook: common/test-setup-host.yml
# Install repo server
- include: test-install-server.yml
- import_playbook: test-install-server.yml
# Build repo
- include: test-repo-build.yml
- import_playbook: test-repo-build.yml