From: Yin Jifeng Date: Thu, 22 Jan 2015 12:09:06 +0000 (+0800) Subject: make sure we use **fsid** in command X-Git-Tag: v1.0.0~262^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a2d977e397dff9a80285a0d95dcc47bce20ee4e;p=ceph-ansible.git make sure we use **fsid** in command --- diff --git a/roles/ceph-mon/tasks/deploy_monitors.yml b/roles/ceph-mon/tasks/deploy_monitors.yml index f2830d220..59806cc21 100644 --- a/roles/ceph-mon/tasks/deploy_monitors.yml +++ b/roles/ceph-mon/tasks/deploy_monitors.yml @@ -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: >