]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
default: remove dup variable 2117/head
authorSébastien Han <seb@redhat.com>
Fri, 27 Oct 2017 09:46:15 +0000 (11:46 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 27 Oct 2017 09:46:15 +0000 (11:46 +0200)
ceph_repository_type was declared multiple times. This commit fixes
this.

Signed-off-by: Sébastien Han <seb@redhat.com>
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml

index 7e18182515c517263d92edd787f5a048a94d79fe..14ba14dec6ec4e57284e9525eef507d77d599baa 100644 (file)
@@ -105,9 +105,8 @@ dummy:
 # INSTALL #
 ###########
 #ceph_rhcs_cdn_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
-#ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
+#ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_rhcs_iso_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
-#ceph_repository_type: "{{ 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_rhcs: False # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_stable: False # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_dev: False # backward compatibility with stable-2.2, will disappear in stable 3.1
@@ -178,7 +177,6 @@ dummy:
 #
 #
 #ceph_rhcs_version: "{{ ceph_stable_rh_storage_version | default(2) }}"
-#ceph_repository_type: dummy
 #valid_ceph_repository_type:
 #  - cdn
 #  - iso
index f457ff0de6be92ab4510408b1b228fa2a947128b..b12eca098b72be89c937b3e2edceb64439995913 100644 (file)
@@ -105,9 +105,8 @@ fetch_directory: ~/ceph-ansible-keys
 # INSTALL #
 ###########
 #ceph_rhcs_cdn_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
-#ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
+#ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_rhcs_iso_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
-#ceph_repository_type: "{{ 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_rhcs: False # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_stable: False # backward compatibility with stable-2.2, will disappear in stable 3.1
 #ceph_dev: False # backward compatibility with stable-2.2, will disappear in stable 3.1
@@ -178,7 +177,6 @@ ceph_repository: rhcs
 #
 #
 #ceph_rhcs_version: "{{ ceph_stable_rh_storage_version | default(2) }}"
-#ceph_repository_type: dummy
 #valid_ceph_repository_type:
 #  - cdn
 #  - iso
index f47dd67c7964dfd9bcfcb5965f87d247182cb539..57a90c72280dace7bd5840098a7a2278dcc6c577 100644 (file)
@@ -97,9 +97,8 @@ ceph_use_distro_backports: false # DEBIAN ONLY
 # INSTALL #
 ###########
 ceph_rhcs_cdn_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
-ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
+ceph_repository_type: "{{ 'cdn' if ceph_rhcs_cdn_install else 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
 ceph_rhcs_iso_install: False # backward compatibility with stable-2.2, will disappear in stable 3.1
-ceph_repository_type: "{{ 'iso' if ceph_rhcs_iso_install else 'dummy' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
 ceph_rhcs: False # backward compatibility with stable-2.2, will disappear in stable 3.1
 ceph_stable: False # backward compatibility with stable-2.2, will disappear in stable 3.1
 ceph_dev: False # backward compatibility with stable-2.2, will disappear in stable 3.1
@@ -170,7 +169,6 @@ ceph_stable_redhat_distro: el7
 #
 #
 ceph_rhcs_version: "{{ ceph_stable_rh_storage_version | default(2) }}"
-ceph_repository_type: dummy
 valid_ceph_repository_type:
   - cdn
   - iso