From dafb100e2a5b5bc880930a880caa18b0f966982d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 10 Oct 2016 16:57:37 +0900 Subject: [PATCH] common: fix rundep installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit see: https://bugzilla.redhat.com/show_bug.cgi?id=1382878 Signed-off-by: Sébastien Han --- roles/ceph-common/tasks/installs/install_on_redhat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-common/tasks/installs/install_on_redhat.yml b/roles/ceph-common/tasks/installs/install_on_redhat.yml index 40dfa6882..bb16932ad 100644 --- a/roles/ceph-common/tasks/installs/install_on_redhat.yml +++ b/roles/ceph-common/tasks/installs/install_on_redhat.yml @@ -58,7 +58,7 @@ copy: src: "{{ansible_dir}}/rundep" dest: "{{ item }}" - with_items: "{{ rundep_location }}.stdout_lines" + with_items: "{{ (rundep_location|default({})).stdout_lines|default([]) }}" when: - ceph_origin == 'local' - use_installer @@ -66,7 +66,7 @@ - name: install ceph dependencies script: "{{ ansible_dir }}/rundep_installer.sh {{ item }}" become: true - with_items: "{{ rundep_location }}.stdout_lines" + with_items: "{{ (rundep_location|default({})).stdout_lines|default([]) }}" when: - ceph_origin == 'local' - use_installer