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

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