According to Ceph documentation the value of mon_initial_members should be short host names, not FQDN.
However, currently the template ceph.conf.j2 sets this value to names which is initialized from the ansible inventory vars['ansible_play_hosts'], which, in principle, could be FQDN.
This results in Ceph monitors not to be properly configured.
I think the value {{ host }} here should be replaced with {{ hostvars[host]['ansible_facts']['hostname'] }}.
According to Ceph documentation the value of
mon_initial_membersshould be short host names, not FQDN.However, currently the template
ceph.conf.j2sets this value tonameswhich is initialized from the ansible inventoryvars['ansible_play_hosts'], which, in principle, could be FQDN.This results in Ceph monitors not to be properly configured.
I think the value
{{ host }}here should be replaced with{{ hostvars[host]['ansible_facts']['hostname'] }}.