Ensure all zkCli has -server set

This commit is contained in:
2021-12-15 11:29:10 -05:00
parent d87bce908b
commit f8898f22b4
3 changed files with 4 additions and 4 deletions

View File

@ -9,5 +9,5 @@
seconds: 10
- name: ensure Zookeeper is running on node1
shell: echo "ls /" | /usr/share/zookeeper/bin/zkCli.sh
shell: echo "ls /" | /usr/share/zookeeper/bin/zkCli.sh -server $(hostname -s):2181
when: ansible_local.host_id == 1