From 92c48f3f2b4ab3987b1deaf4c17df9cb5e2bb11b Mon Sep 17 00:00:00 2001 From: Li Peng Date: Mon, 9 May 2016 15:14:13 +0800 Subject: [PATCH] cleanup: fix inappropriate variable names Signed-off-by: Li Peng --- roles/ceph-mds/tasks/docker/dirs_permissions.yml | 6 +++--- roles/ceph-restapi/tasks/docker/dirs_permissions.yml | 6 +++--- roles/ceph-rgw/tasks/docker/dirs_permissions.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/roles/ceph-mds/tasks/docker/dirs_permissions.yml b/roles/ceph-mds/tasks/docker/dirs_permissions.yml index 9163b3095..dd94e5e9f 100644 --- a/roles/ceph-mds/tasks/docker/dirs_permissions.yml +++ b/roles/ceph-mds/tasks/docker/dirs_permissions.yml @@ -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 diff --git a/roles/ceph-restapi/tasks/docker/dirs_permissions.yml b/roles/ceph-restapi/tasks/docker/dirs_permissions.yml index c1425caea..b827deecf 100644 --- a/roles/ceph-restapi/tasks/docker/dirs_permissions.yml +++ b/roles/ceph-restapi/tasks/docker/dirs_permissions.yml @@ -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 diff --git a/roles/ceph-rgw/tasks/docker/dirs_permissions.yml b/roles/ceph-rgw/tasks/docker/dirs_permissions.yml index c5e325446..7973981d0 100644 --- a/roles/ceph-rgw/tasks/docker/dirs_permissions.yml +++ b/roles/ceph-rgw/tasks/docker/dirs_permissions.yml @@ -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