File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 99 command :
1010 cmd : >
1111 cephadm shell --
12- ceph orch daemon add osd {{ ansible_facts.hostname }}:{{ item }}
12+ ceph orch daemon add osd {{ ansible_facts.nodename }}:{{ item }}
1313 become : true
1414 register : osd_add_result
1515 changed_when : not osd_add_result.stdout.startswith("Created no osd(s) on host")
Original file line number Diff line number Diff line change 11{% for host in groups ['ceph' ] %}
22---
33service_type: host
4- hostname: {{ hostvars[host] .ansible_facts.hostname }}
4+ hostname: {{ hostvars[host] .ansible_facts.nodename }}
55{% set cephadm_admin_interface = hostvars [host ]['cephadm_admin_interface' ] %}
66addr: {{ hostvars[host] ['ansible_facts'] [cephadm_admin_interface] ['ipv4'] ['address'] }}
77labels:
You can’t perform that action at this time.
0 commit comments