--- # # NOTE: Playbook migrated to: cifmw_setup/tasks/run_tests.yml. # DO NOT EDIT THIS PLAYBOOK. IT WILL BE REMOVED IN NEAR FUTURE.. # - name: "Test playbook" hosts: "{{ cifmw_target_host | default('localhost') }}" gather_facts: false tasks: - name: Run pre_tests hooks vars: step: pre_tests ansible.builtin.import_role: name: run_hook # end_play will end only current play, not the main edpm-deploy.yml - name: Early exit if no tests when: - not cifmw_run_tests | default(false) | bool ansible.builtin.meta: end_play - name: "Run tests" tags: - tests ansible.builtin.import_role: name: "{{ cifmw_run_test_role | default('tempest') }}" - name: Run post_tests hooks vars: step: post_tests ansible.builtin.import_role: name: run_hook