From 9d3aaaf43469fe16e2d2c0739384c62a75c7f8bc Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 2 Jul 2021 14:24:02 -0700 Subject: [PATCH] Enable ZooKeeper 4 letter words So that tests which use ZooKeeper can issue the 4-letter-word debug commands, make sure they are enabled in the zoo.cfg file. Change-Id: Ib614e918e02306564c2ed6adb4ec350e40df9043 --- roles/ensure-zookeeper/tasks/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/ensure-zookeeper/tasks/main.yaml b/roles/ensure-zookeeper/tasks/main.yaml index d0db2e760..5bb81a4c7 100644 --- a/roles/ensure-zookeeper/tasks/main.yaml +++ b/roles/ensure-zookeeper/tasks/main.yaml @@ -46,6 +46,12 @@ mode: 0644 become: true +- name: Enable ZooKeeper 4lw + lineinfile: + path: /opt/zookeeper/conf/zoo.cfg + line: "4lw.commands.whitelist=*" + become: true + - name: Setup ZooKeeper TLS include_tasks: ./setup_tls.yaml when: zookeeper_use_tls