kolla-ansible/roles/cephadm/templates/cephadm.yml.j2
Michal Nasiadka 496a3df95f CI: Bump Ceph to Pacific
Change-Id: I9c736a586a757b49170977c7f9cf2c4890557a33
2022-02-10 12:15:54 +00:00

24 lines
370 B
Django/Jinja

{% for host in groups['all'] %}
---
service_type: host
hostname: {{ hostvars[host]['ansible_hostname'] }}
addr: {{ hostvars[host]['ansible_vxlan0']['ipv4']['address'] }}
labels:
- _admin
- mon
- mgr
- osd
{% endfor %}
---
service_type: mon
placement:
label: "mon"
---
service_type: mgr
placement:
label: "mgr"
---
service_type: crash
placement:
host_pattern: "*"