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

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