From: WingkaiHo Date: Tue, 21 Mar 2017 05:50:27 +0000 (+0800) Subject: Ansible will include host_vars/ansible_hostname.yml itself, no need this task IMO. X-Git-Tag: v2.2.0~16^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8602166f6e33a8de29e2e299e57fbb4b7ecae807;p=ceph-ansible.git Ansible will include host_vars/ansible_hostname.yml itself, no need this task IMO. --- diff --git a/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml b/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml index b596d87f0..4c21eeec0 100644 --- a/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml +++ b/infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml @@ -55,14 +55,7 @@ journal_typecode: 45b0969e-9b03-4f30-b4c6-b4b80ceff106 dev_ssds: [] - tasks: - - name: load a variable file for dev_ssds - include_vars: "{{ item }}" - with_first_found: - - files: - - "host_vars/{{ ansible_hostname }}.yml" - skip: true - + tasks: - name: get osd(s) if directory stat stat: path: "/var/lib/ceph/osd/ceph-{{ item.1.osd_id }}/journal_uuid"