- hosts: all tasks: - name: Include ensure-zookeeper include_role: name: ensure-zookeeper - name: Test zookeeper is running command: /opt/zookeeper/bin/zkCli.sh ls /