- hosts: localhost
  roles:
    - add-fileserver:
      fileserver: "{{ site_logs }}"

  post_tasks:
    - name: Copy inventory to logs dir
      copy:
        src: "{{ inventory_file }}"
        dest: "{{ zuul.executor.log_root  }}"

- hosts: "{{ site_logs.fqdn }}"
  roles:
    - upload-logs

- hosts: localhost
  tasks:
    - name: Return log URL to Zuul
      zuul_return:
        data:
          zuul:
            log_url: "http://logs.openstack.org/{{ hostvars[groups['zuul_logserver'][0]]['log_path'] }}/"

- hosts: localhost
  roles:
    - add-fileserver:
      fileserver: "{{ site_logs }}"
    - emit-ara-logs

  post_tasks:
    - name: Copy inventory to logs dir
      copy:
        src: "{{ inventory_file }}"
        dest: "{{ zuul.executor.log_root  }}"

- hosts: "{{ site_logs.fqdn }}"
  roles:
    - upload-logs

- hosts: localhost
  tasks:
    - name: Return log URL to Zuul
      zuul_return:
        data:
          zuul:
            log_url: "http://logs.openstack.org/{{ hostvars[groups['zuul_logserver'][0]]['log_path'] }}/"

Add ara logging to base-test job
Add ara logging to base-test job

These have to run on localhose, so this need to be in a config repo.
If it works, we can add it to base.

Depends-On: I7e5270bcf64f9834e40983ff3bdac59f6582d599
Change-Id: I508e95c13f90d3a55559e00ab75c686a8fa4d3ed
