diff --git a/infrastructure-playbooks/make-osd-partitions.yml b/infrastructure-playbooks/make-osd-partitions.yml index c4ba15a5d..d348cb380 100644 --- a/infrastructure-playbooks/make-osd-partitions.yml +++ b/infrastructure-playbooks/make-osd-partitions.yml @@ -31,15 +31,15 @@ - "{{ osd_group_name }}" tasks: - + - name: load a variable file for devices partition -   include_vars: "{{ item }}" -   with_first_found: + include_vars: "{{ item }}" + with_first_found: - files: - "host_vars/{{ ansible_hostname }}.yml" - "host_vars/default.yml" skip: true - + - name: exit playbook, if devices not defined fail: msg: "devices must be define in host_vars/default.yml or host_vars/{{ ansible_hostname }}.yml"