| Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 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 | ||||