Blob Blame History Raw
- hosts: localhost
  vars:
  - artifacts: ./artifacts
  tags:
  - classic
  remote_user: root
  tasks:
  - name: converterSample
    block:
      - name: run the converterSample test
        shell: exec > /tmp/converterSample.test.log 2>&1 && ./converterSample/runtest.sh

    always:
      - name: pull out logs
        fetch:
          dest: "{{ artifacts }}/"
          src:  "/tmp/converterSample.test.log"
          flat: yes
      - name: pull out expected
        fetch:
          dest: "{{ artifacts }}/"
          src:  "./converterSample/converterSample.asl.expected"
          flat: yes
      - name: pull out actual
        fetch:
          dest: "{{ artifacts }}/"
          src:  "./converterSample/converterSample.asl.actual"
          flat: yes