Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% for i in pillar['ceph'] %}
- [{{ pillar[i] }}]
- {% if i.startswith('mon') %}
- host = {{ pillar['ceph'][i]['host'] }}
- mon addr = {{ pillar['ceph'][i]['ip']] }}:6789
- {% elif i.startswith('osd') %}
- host = {{ pillar['ceph'][i]['host'] }}
- devs = {{ pillar['ceph'][i]['devs'] }}
- {% elif i.startswith('mds') %}
- host = {{ pillar['ceph'][i]['host'] }}
- {% endif %}
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement