You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
561 B
18 lines
561 B
# 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"
|
|
|
|
- hosts: "zookeeper:!disabled"
|
|
name: "Configure Zookeeper"
|
|
serial: 1
|
|
roles:
|
|
- iptables
|
|
- install-docker
|
|
- zookeeper
|