blob: f244f5d9ea7967405fee64aef5e55e002ed19650 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# tosca-tests/tasks/main.yml
3
4- name: Run TOSCA tests
5 command: "python ./alltests.py"
6 args:
7 chdir: "/opt/xos/tosca/tests"
8 register: tosca_tests_out
9 ignore_errors: yes
10 tags:
11 - skip_ansible_lint # run during testing only
12
13- name: Save output from TOSCA tests
14 copy:
15 content: "{{ tosca_tests_out.stdout_lines }}"
16 dest: "/tmp/tosca-tests.out"
17
18- name: Print output from TOSCA test
19 debug: var=tosca_tests_out.stdout_lines