summaryrefslogtreecommitdiff
path: root/playbooks/zuul-stream/fixtures
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2017-08-26 13:26:29 -0500
committerDavid Moreau Simard <dms@redhat.com>2017-08-29 18:55:47 +0000
commit0d254d547198305d3d05f0cf5a24a376cfd8b782 (patch)
treebe2292955913a8480d64f24c54f28a4d39211eec /playbooks/zuul-stream/fixtures
parent9de4ccc48f026235c8bb9bff3c74ac034b3f80d2 (diff)
downloadzuul-0d254d547198305d3d05f0cf5a24a376cfd8b782.tar.gz
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
Diffstat (limited to 'playbooks/zuul-stream/fixtures')
-rw-r--r--playbooks/zuul-stream/fixtures/test-stream.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/playbooks/zuul-stream/fixtures/test-stream.yaml b/playbooks/zuul-stream/fixtures/test-stream.yaml
new file mode 100644
index 000000000..065e33274
--- /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