From: Andrew Schoen Date: Fri, 9 Feb 2018 20:02:07 +0000 (-0600) Subject: infra: do not include host_vars/* in take-over-existing-cluster.yml X-Git-Tag: v3.0.25~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=600c4014e2ef1940f20ccce0d46bbcf7e54556e0;p=ceph-ansible.git infra: do not include host_vars/* in take-over-existing-cluster.yml These are better collected by ansible automatically. This would also fail if the host_var file didn't exist. Signed-off-by: Andrew Schoen (cherry picked from commit 7c7017ebe66c70b1f3e06ee71466f30beb4eb2b0) Signed-off-by: Sébastien Han --- diff --git a/infrastructure-playbooks/take-over-existing-cluster.yml b/infrastructure-playbooks/take-over-existing-cluster.yml index 97a7cf884..0dcc1870f 100644 --- a/infrastructure-playbooks/take-over-existing-cluster.yml +++ b/infrastructure-playbooks/take-over-existing-cluster.yml @@ -16,7 +16,6 @@ vars_files: - roles/ceph-defaults/defaults/main.yml - group_vars/all.yml - - "host_vars/{{ ansible_hostname }}.yml" roles: - ceph-defaults - ceph-fetch-keys @@ -38,7 +37,6 @@ tasks: - include_vars: roles/ceph-defaults/defaults/main.yml - include_vars: group_vars/all.yml - - include_vars: "host_vars/{{ ansible_hostname }}.yml" - name: get the name of the existing ceph cluster shell: |