cleanup: fix inappropriate variable names

Signed-off-by: Li Peng <lip@dtdream.com>
pull/765/head
Li Peng 2016-05-09 15:14:13 +08:00
parent aaeadcab12
commit 92c48f3f2b
3 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@
register: ceph_version
- set_fact:
after_hamer=True
after_hammer=True
when:
ceph_version.stdout not in ['firefly','giant', 'hammer']
@ -28,7 +28,7 @@
with_items:
- /etc/ceph/
- /var/lib/ceph/bootstrap-mds
when: not after_hamer
when: not after_hammer
- name: create bootstrap directories (after hammer)
file:
@ -40,4 +40,4 @@
with_items:
- /etc/ceph/
- /var/lib/ceph/bootstrap-mds
when: after_hamer
when: after_hammer

View File

@ -7,7 +7,7 @@
register: ceph_version
- set_fact:
after_hamer=True
after_hammer=True
when:
ceph_version.stdout not in ['firefly','giant', 'hammer']
@ -23,7 +23,7 @@
- /var/lib/ceph/bootstrap-osd
- /var/lib/ceph/bootstrap-mds
- /var/lib/ceph/bootstrap-rgw
when: not after_hamer
when: not after_hammer
- name: create bootstrap directories (after hammer)
file:
@ -37,4 +37,4 @@
- /var/lib/ceph/bootstrap-osd
- /var/lib/ceph/bootstrap-mds
- /var/lib/ceph/bootstrap-rgw
when: after_hamer
when: after_hammer

View File

@ -14,7 +14,7 @@
register: ceph_version
- set_fact:
after_hamer=True
after_hammer=True
when:
ceph_version.stdout not in ['firefly','giant', 'hammer']
@ -28,7 +28,7 @@
with_items:
- /etc/ceph/
- /var/lib/ceph/bootstrap-rgw
when: not after_hamer
when: not after_hammer
- name: create bootstrap directories (after hammer)
file:
@ -40,4 +40,4 @@
with_items:
- /etc/ceph/
- /var/lib/ceph/bootstrap-rgw
when: after_hamer
when: after_hammer