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:
|
||||
- always
|
||||
|
||||
- include_tasks: tempest_install.yml
|
||||
- import_tasks: tempest_install.yml
|
||||
tags:
|
||||
- tempest-install
|
||||
|
||||
- include_tasks: tempest_resources.yml
|
||||
- import_tasks: tempest_resources.yml
|
||||
run_once: yes
|
||||
tags:
|
||||
- tempest-config
|
||||
|
||||
- include_tasks: tempest_post_install.yml
|
||||
- import_tasks: tempest_post_install.yml
|
||||
tags:
|
||||
- tempest-config
|
||||
|
||||
- include_tasks: tempest_run.yml
|
||||
- import_tasks: tempest_run.yml
|
||||
when: tempest_run | bool
|
||||
tags:
|
||||
- tempest-config
|
||||
|
|
|
@ -26,11 +26,11 @@
|
|||
delay: 2
|
||||
|
||||
- name: Install Tempest packages from PIP
|
||||
include_tasks: tempest_install_source.yml
|
||||
import_tasks: tempest_install_source.yml
|
||||
when: tempest_install_method == 'source'
|
||||
|
||||
- name: Install stackviz on venv
|
||||
include_role:
|
||||
import_role:
|
||||
name: "python_venv_build"
|
||||
vars:
|
||||
venv_install_destination_path: "{{ stackviz_venv_bin | dirname }}"
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
# don't trigger ANSIBLE0013
|
||||
- skip_ansible_lint
|
||||
|
||||
- include_tasks: tempestconf.yml
|
||||
- import_tasks: tempestconf.yml
|
||||
when: tempest_use_tempestconf | bool
|
||||
tags:
|
||||
- tempest-config
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
- name: Install python-tempestconf on venv
|
||||
include_role:
|
||||
import_role:
|
||||
name: "python_venv_build"
|
||||
vars:
|
||||
venv_build_constraints: "{{ tempest_tempestconf_git_constraints }}"
|
||||
|
|
Loading…
Reference in New Issue