mirror of https://github.com/ceph/ceph-ansible.git
cleanup: fix inappropriate variable names
Signed-off-by: Li Peng <lip@dtdream.com>pull/765/head
parent
aaeadcab12
commit
92c48f3f2b
|
@ -14,7 +14,7 @@
|
||||||
register: ceph_version
|
register: ceph_version
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
after_hamer=True
|
after_hammer=True
|
||||||
when:
|
when:
|
||||||
ceph_version.stdout not in ['firefly','giant', 'hammer']
|
ceph_version.stdout not in ['firefly','giant', 'hammer']
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- /etc/ceph/
|
- /etc/ceph/
|
||||||
- /var/lib/ceph/bootstrap-mds
|
- /var/lib/ceph/bootstrap-mds
|
||||||
when: not after_hamer
|
when: not after_hammer
|
||||||
|
|
||||||
- name: create bootstrap directories (after hammer)
|
- name: create bootstrap directories (after hammer)
|
||||||
file:
|
file:
|
||||||
|
@ -40,4 +40,4 @@
|
||||||
with_items:
|
with_items:
|
||||||
- /etc/ceph/
|
- /etc/ceph/
|
||||||
- /var/lib/ceph/bootstrap-mds
|
- /var/lib/ceph/bootstrap-mds
|
||||||
when: after_hamer
|
when: after_hammer
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
register: ceph_version
|
register: ceph_version
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
after_hamer=True
|
after_hammer=True
|
||||||
when:
|
when:
|
||||||
ceph_version.stdout not in ['firefly','giant', 'hammer']
|
ceph_version.stdout not in ['firefly','giant', 'hammer']
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
- /var/lib/ceph/bootstrap-osd
|
- /var/lib/ceph/bootstrap-osd
|
||||||
- /var/lib/ceph/bootstrap-mds
|
- /var/lib/ceph/bootstrap-mds
|
||||||
- /var/lib/ceph/bootstrap-rgw
|
- /var/lib/ceph/bootstrap-rgw
|
||||||
when: not after_hamer
|
when: not after_hammer
|
||||||
|
|
||||||
- name: create bootstrap directories (after hammer)
|
- name: create bootstrap directories (after hammer)
|
||||||
file:
|
file:
|
||||||
|
@ -37,4 +37,4 @@
|
||||||
- /var/lib/ceph/bootstrap-osd
|
- /var/lib/ceph/bootstrap-osd
|
||||||
- /var/lib/ceph/bootstrap-mds
|
- /var/lib/ceph/bootstrap-mds
|
||||||
- /var/lib/ceph/bootstrap-rgw
|
- /var/lib/ceph/bootstrap-rgw
|
||||||
when: after_hamer
|
when: after_hammer
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
register: ceph_version
|
register: ceph_version
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
after_hamer=True
|
after_hammer=True
|
||||||
when:
|
when:
|
||||||
ceph_version.stdout not in ['firefly','giant', 'hammer']
|
ceph_version.stdout not in ['firefly','giant', 'hammer']
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- /etc/ceph/
|
- /etc/ceph/
|
||||||
- /var/lib/ceph/bootstrap-rgw
|
- /var/lib/ceph/bootstrap-rgw
|
||||||
when: not after_hamer
|
when: not after_hammer
|
||||||
|
|
||||||
- name: create bootstrap directories (after hammer)
|
- name: create bootstrap directories (after hammer)
|
||||||
file:
|
file:
|
||||||
|
@ -40,4 +40,4 @@
|
||||||
with_items:
|
with_items:
|
||||||
- /etc/ceph/
|
- /etc/ceph/
|
||||||
- /var/lib/ceph/bootstrap-rgw
|
- /var/lib/ceph/bootstrap-rgw
|
||||||
when: after_hamer
|
when: after_hammer
|
||||||
|
|
Loading…
Reference in New Issue