Merge pull request #2 from leseb/wip-cleanup

Cleanup redundant command
pull/10/head
Alfredo Deza 2014-03-04 08:45:55 -05:00
commit e60fee1a27
2 changed files with 0 additions and 8 deletions

View File

@ -6,10 +6,6 @@
copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_hostname'] }}/var/lib/ceph/bootstrap-mds/ceph.keyring dest=/var/lib/ceph/bootstrap-mds/ceph.keyring owner=root group=root mode=600
when: cephx
- name: Set MDS bootstrap key permissions
file: path=/var/lib/ceph/bootstrap-mds/ceph.keyring mode=0600 owner=root group=root
when: cephx
- name: Create MDS directory
action: file path=/var/lib/ceph/mds/ceph-{{ ansible_hostname }} state=directory owner=root group=root mode=0644
when: cephx

View File

@ -9,10 +9,6 @@
copy: src=fetch/{{ hostvars[groups['mons'][0]]['ansible_hostname'] }}/var/lib/ceph/bootstrap-osd/ceph.keyring dest=/var/lib/ceph/bootstrap-osd/ceph.keyring owner=root group=root mode=600
when: cephx
- name: Set OSD bootstrap key permissions
file: path=/var/lib/ceph/bootstrap-osd/ceph.keyring mode=0600 owner=root group=root
when: cephx
# NOTE (leseb): current behavior of ceph-disk is to fail when the device is mounted "stderr: ceph-disk: Error: Device is mounted: /dev/sdb1"
# the return code is 1, which makes sense, however ideally if ceph-disk will detect a ceph partition
# it should exist we rc=0 and don't do anything unless we do something like --force