2020-04-17 17:56:51 -05:00
|
|
|
# We exclude !disabled because we want to run the noop task on all
|
|
|
|
# of the hosts in the group, not just the active ones, because we're
|
|
|
|
# pulling their hostvars from the fact cache. They don't stop being
|
|
|
|
# zookeeper servers just because they are disabled.
|
|
|
|
- hosts: "zookeeper"
|
|
|
|
tasks:
|
|
|
|
- name: Use the host so we have access to its hostvars
|
|
|
|
debug:
|
|
|
|
msg: "This debug statement is to get us access to hostvars"
|
|
|
|
|
2020-04-16 07:44:34 -07:00
|
|
|
- hosts: "zookeeper:!disabled"
|
|
|
|
name: "Configure Zookeeper"
|
|
|
|
serial: 1
|
|
|
|
roles:
|
2020-05-26 17:41:54 -05:00
|
|
|
- iptables
|
2020-04-16 07:44:34 -07:00
|
|
|
- install-docker
|
|
|
|
- zookeeper
|