use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0] Switch to include_tasks or import_playbook as necessary [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Change-Id: I5b9e7be4c7212e3c483d2c65746629416cd309f2
This commit is contained in:
parent
3d486b25f9
commit
ead5ec8589
|
@ -24,11 +24,11 @@
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
- include: repo_build_install.yml
|
- include_tasks: repo_build_install.yml
|
||||||
tags:
|
tags:
|
||||||
- repo-build-install
|
- repo-build-install
|
||||||
|
|
||||||
- include: repo_build_prepare.yml
|
- include_tasks: repo_build_prepare.yml
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
|
@ -39,20 +39,20 @@
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
- include: repo_build_wheels.yml
|
- include_tasks: repo_build_wheels.yml
|
||||||
when:
|
when:
|
||||||
- ansible_local['openstack_ansible']['repo_build']['need_wheel_build'] | bool
|
- ansible_local['openstack_ansible']['repo_build']['need_wheel_build'] | bool
|
||||||
tags:
|
tags:
|
||||||
- repo-build-wheels
|
- repo-build-wheels
|
||||||
|
|
||||||
- include: repo_build_venvs.yml
|
- include_tasks: repo_build_venvs.yml
|
||||||
tags:
|
tags:
|
||||||
- repo-build-venvs
|
- repo-build-venvs
|
||||||
|
|
||||||
- include: repo_build_index.yml
|
- include_tasks: repo_build_index.yml
|
||||||
tags:
|
tags:
|
||||||
- repo-build-index
|
- repo-build-index
|
||||||
|
|
||||||
# Synchronize all built packages back to the repo master
|
# 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]
|
when: inventory_hostname != groups['repo_all'][0]
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
dest: "{{ repo_build_release_path }}/requirements.txt"
|
dest: "{{ repo_build_release_path }}/requirements.txt"
|
||||||
register: _wheel_build_requirements
|
register: _wheel_build_requirements
|
||||||
|
|
||||||
- include: repo_clone_git.yml
|
- include_tasks: repo_clone_git.yml
|
||||||
when:
|
when:
|
||||||
- (repo_build_git_reclone | bool) or
|
- (repo_build_git_reclone | bool) or
|
||||||
(_wheel_build_requirements | changed)
|
(_wheel_build_requirements | changed)
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Prepare the host
|
# Prepare the host
|
||||||
- include: common/test-setup-host.yml
|
- import_playbook: common/test-setup-host.yml
|
||||||
|
|
||||||
# Install repo server
|
# Install repo server
|
||||||
- include: test-install-server.yml
|
- import_playbook: test-install-server.yml
|
||||||
|
|
||||||
# Build repo
|
# Build repo
|
||||||
- include: test-repo-build.yml
|
- import_playbook: test-repo-build.yml
|
||||||
|
|
Loading…
Reference in New Issue