blob: 97068b90594ceb57259dab26244754f214f6c783 (
plain)
1
2
3
4
5
6
7
8
9
|
[controllers]
{% for controller in hostvars[inventory_hostname]['groups']['storage_master'] %}
{{ controller }} ansible_ssh_host={{ hostvars[controller]['ansible_ssh_host'] }}
{% endfor %}
[docks]
{% for dock in hostvars[inventory_hostname]['groups']['storage_master'] %}
{{ dock }} ansible_ssh_host={{ hostvars[dock]['ansible_ssh_host'] }}
{% endfor %}
|