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/fixtures/test-stream.yaml b/playbooks/zuul-stream/fixtures/test-stream.yaml
new file mode 100644
index 0000000..065e332
--- /dev/null
+++ b/playbooks/zuul-stream/fixtures/test-stream.yaml
@@ -0,0 +1,21 @@
+- name: Run some commands to show that logging works
+ hosts: node
+ tasks:
+
+ - name: Run setup
+ setup:
+ register: setupvar
+
+ - name: Output debug for a var
+ debug:
+ var: setupvar
+
+ - name: Run a shell task
+ command: ip addr show
+
+ - name: Loop with items
+ command: "echo {{ item }}"
+ with_items:
+ - item1
+ - item2
+ - item3