summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/post-system-logs.yaml5
-rw-r--r--playbooks/zuul-tox/post-system-logs.yaml5
-rw-r--r--playbooks/zuul-tox/pre.yaml4
3 files changed, 9 insertions, 5 deletions
diff --git a/playbooks/common/post-system-logs.yaml b/playbooks/common/post-system-logs.yaml
deleted file mode 100644
index 830899c38..000000000
--- a/playbooks/common/post-system-logs.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
-- hosts: all
- tasks:
-
- - name: Collect zookeeper logs
- shell: "cp /var/log/zookeeper/zookeeper.log {{ zuul_output_dir }}/logs/zookeeper.log"
diff --git a/playbooks/zuul-tox/post-system-logs.yaml b/playbooks/zuul-tox/post-system-logs.yaml
new file mode 100644
index 000000000..7a9da4821
--- /dev/null
+++ b/playbooks/zuul-tox/post-system-logs.yaml
@@ -0,0 +1,5 @@
+- hosts: all
+ tasks:
+
+ - name: Collect zookeeper logs
+ shell: "cp /opt/zookeeper/logs/* {{ zuul_output_dir }}/logs/"
diff --git a/playbooks/zuul-tox/pre.yaml b/playbooks/zuul-tox/pre.yaml
new file mode 100644
index 000000000..45d213e97
--- /dev/null
+++ b/playbooks/zuul-tox/pre.yaml
@@ -0,0 +1,4 @@
+- hosts: all
+ roles:
+ - role: ensure-zookeeper
+ zookeeper_use_tls: true