mirror of https://github.com/ceph/ceph-ansible.git
make sure we use **fsid** in command
parent
30ac90dcfa
commit
2a2d977e39
|
@ -18,7 +18,7 @@
|
|||
mode=0644
|
||||
|
||||
- name: Ceph monitor mkfs
|
||||
command: "ceph-mon --mkfs -i {{ ansible_hostname }} --fsid {{ cluster_uuid.stdout }} --keyring /var/lib/ceph/tmp/keyring.mon.{{ ansible_hostname }} creates=/var/lib/ceph/mon/ceph-{{ ansible_hostname }}/keyring"
|
||||
command: "ceph-mon --mkfs -i {{ ansible_hostname }} --fsid {{ fsid }} --keyring /var/lib/ceph/tmp/keyring.mon.{{ ansible_hostname }} creates=/var/lib/ceph/mon/ceph-{{ ansible_hostname }}/keyring"
|
||||
|
||||
- name: Start and add that the monitor service to the init sequence
|
||||
service: >
|
||||
|
|
Loading…
Reference in New Issue