blob: f244f5d9ea7967405fee64aef5e55e002ed19650 [file] [log] [blame]
---
# tosca-tests/tasks/main.yml
- name: Run TOSCA tests
command: "python ./alltests.py"
args:
chdir: "/opt/xos/tosca/tests"
register: tosca_tests_out
ignore_errors: yes
tags:
- skip_ansible_lint # run during testing only
- name: Save output from TOSCA tests
copy:
content: "{{ tosca_tests_out.stdout_lines }}"
dest: "/tmp/tosca-tests.out"
- name: Print output from TOSCA test
debug: var=tosca_tests_out.stdout_lines