ansible/roles/accumulo/templates/cluster.yaml (16 lines of code) (raw):
manager:
{% for host in groups['accumulomaster'] %}
- {{ host }}
{% endfor %}
monitor:
{% for host in groups['accumulomaster'] %}
- {{ host }}
{% endfor %}
gc:
{% for host in groups['accumulomaster'] %}
- {{ host }}
{% endfor %}
tserver:
{% for host in groups['workers'] %}
- {{ host }}
{% endfor %}