Switch to import_task in os_tempest
Switch to include_task to import_task and include_role to import role in the role. Change-Id: I6b2d2ceead9cc16afc5c7c141c400b8ee61a9da5 Signed-off-by: Chandan Kumar <chkumar@redhat.com>
This commit is contained in:
parent
035c0d473e
commit
6f9fd60969
|
@ -36,20 +36,20 @@
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
- include_tasks: tempest_install.yml
|
- import_tasks: tempest_install.yml
|
||||||
tags:
|
tags:
|
||||||
- tempest-install
|
- tempest-install
|
||||||
|
|
||||||
- include_tasks: tempest_resources.yml
|
- import_tasks: tempest_resources.yml
|
||||||
run_once: yes
|
run_once: yes
|
||||||
tags:
|
tags:
|
||||||
- tempest-config
|
- tempest-config
|
||||||
|
|
||||||
- include_tasks: tempest_post_install.yml
|
- import_tasks: tempest_post_install.yml
|
||||||
tags:
|
tags:
|
||||||
- tempest-config
|
- tempest-config
|
||||||
|
|
||||||
- include_tasks: tempest_run.yml
|
- import_tasks: tempest_run.yml
|
||||||
when: tempest_run | bool
|
when: tempest_run | bool
|
||||||
tags:
|
tags:
|
||||||
- tempest-config
|
- tempest-config
|
||||||
|
|
|
@ -26,11 +26,11 @@
|
||||||
delay: 2
|
delay: 2
|
||||||
|
|
||||||
- name: Install Tempest packages from PIP
|
- name: Install Tempest packages from PIP
|
||||||
include_tasks: tempest_install_source.yml
|
import_tasks: tempest_install_source.yml
|
||||||
when: tempest_install_method == 'source'
|
when: tempest_install_method == 'source'
|
||||||
|
|
||||||
- name: Install stackviz on venv
|
- name: Install stackviz on venv
|
||||||
include_role:
|
import_role:
|
||||||
name: "python_venv_build"
|
name: "python_venv_build"
|
||||||
vars:
|
vars:
|
||||||
venv_install_destination_path: "{{ stackviz_venv_bin | dirname }}"
|
venv_install_destination_path: "{{ stackviz_venv_bin | dirname }}"
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
# don't trigger ANSIBLE0013
|
# don't trigger ANSIBLE0013
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
|
|
||||||
- include_tasks: tempestconf.yml
|
- import_tasks: tempestconf.yml
|
||||||
when: tempest_use_tempestconf | bool
|
when: tempest_use_tempestconf | bool
|
||||||
tags:
|
tags:
|
||||||
- tempest-config
|
- tempest-config
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Install python-tempestconf on venv
|
- name: Install python-tempestconf on venv
|
||||||
include_role:
|
import_role:
|
||||||
name: "python_venv_build"
|
name: "python_venv_build"
|
||||||
vars:
|
vars:
|
||||||
venv_build_constraints: "{{ tempest_tempestconf_git_constraints }}"
|
venv_build_constraints: "{{ tempest_tempestconf_git_constraints }}"
|
||||||
|
|
Loading…
Reference in New Issue