Add integration test for zuul_stream

Actually run a playbook against a second node with the plugins enabled,
then fetch the output so we can look at it.

Takes advantage of the fact that zuul_console will already be running on
the second node.

Change-Id: I75bcbc46ffbbb49f0689584fbdb1c62ac2e91737
diff --git a/playbooks/zuul-stream/pre.yaml b/playbooks/zuul-stream/pre.yaml
new file mode 100644
index 0000000..3f4bdf9
--- /dev/null
+++ b/playbooks/zuul-stream/pre.yaml
@@ -0,0 +1,30 @@
+- hosts: controller
+  roles:
+
+    - role: bindep
+      bindep_profile: test
+      bindep_dir: src/git.openstack.org/openstack-infra/zuul
+      bindep_command: /usr/bindep-env/bin/bindep
+
+    - role: bindep
+      bindep_dir: src/git.openstack.org/openstack/ara
+      bindep_command: /usr/bindep-env/bin/bindep
+
+  post_tasks:
+
+    - name: Install software
+      command: python3 -m pip install src/git.openstack.org/openstack-infra/zuul src/git.openstack.org/openstack/ara
+      become: yes
+
+    - name: Copy inventory
+      copy:
+        src: "{{ zuul.executor.log_root }}/zuul-info/inventory.yaml"
+        dest: "{{ ansible_user_dir }}/inventory.yaml"
+
+    - name: Copy ansible.cfg
+      template:
+        src: templates/ansible.cfg.j2
+        dest: "{{ ansible_user_dir }}/ansible.cfg"
+
+    - name: Generate logging config
+      command: python3 src/git.openstack.org/openstack-infra/zuul/zuul/ansible/logconfig.py