zhulingjie 8be12b71d7 use include_tasks and import_playbook 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: Ia1b826ca08ae042eec80f8c495ab030a087d97ba
2019-01-18 12:22:38 +00:00

21 lines
452 B
YAML

---
# TODO:
# - Seed custom inventory
# - Overcloud custom inventory
# - Group map
# - Pass through variables
# - Nova ironic compute host
- import_playbook: test-defaults.yml
- import_playbook: test-extras.yml
- import_playbook: test-requirements.yml
- hosts: localhost
connection: local
tasks:
- name: Fail if any tests failed
fail:
msg: >
Test failures: {{ test_failures }}
when: test_failures is defined