]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
take-over-existing-cluster: do not call var_files
authorSébastien Han <seb@redhat.com>
Mon, 20 Aug 2018 12:41:06 +0000 (14:41 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 20 Aug 2018 12:47:04 +0000 (14:47 +0200)
We were using var_files long ago when default variables were not in
ceph-defaults, now the role exists this is not need. Moreover having
these two var files added:

- roles/ceph-defaults/defaults/main.yml
- group_vars/all.yml

Will create collision and override necessary variables.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1555305
Signed-off-by: Sébastien Han <seb@redhat.com>
infrastructure-playbooks/take-over-existing-cluster.yml

index 0da6509863e22817a17db2c0443bd77016b59349..64aae9666c414e89c84724217746a7ae8f6d2d2f 100644 (file)
@@ -1,6 +1,6 @@
 ---
 # NOTE (leseb):
-# The playbook aims to takeover a cluster that was not configured with 
+# The playbook aims to takeover a cluster that was not configured with
 # ceph-ansible.
 #
 # The procedure is as follows:
@@ -13,9 +13,6 @@
 
 - hosts: mons
   become: True
-  vars_files:
-    - roles/ceph-defaults/defaults/main.yml
-    - group_vars/all.yml
   roles:
     - ceph-defaults
     - ceph-fetch-keys