Merge pull request #1023 from ceph/fix-copy-rundep

common: fix rundep installation
pull/1028/head
Leseb 2016-10-11 11:59:40 +09:00 committed by GitHub
commit b8cbe4c505
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
copy: copy:
src: "{{ansible_dir}}/rundep" src: "{{ansible_dir}}/rundep"
dest: "{{ item }}" dest: "{{ item }}"
with_items: "{{ rundep_location }}.stdout_lines" with_items: "{{ (rundep_location|default({})).stdout_lines|default([]) }}"
when: when:
- ceph_origin == 'local' - ceph_origin == 'local'
- use_installer - use_installer
@ -66,7 +66,7 @@
- name: install ceph dependencies - name: install ceph dependencies
script: "{{ ansible_dir }}/rundep_installer.sh {{ item }}" script: "{{ ansible_dir }}/rundep_installer.sh {{ item }}"
become: true become: true
with_items: "{{ rundep_location }}.stdout_lines" with_items: "{{ (rundep_location|default({})).stdout_lines|default([]) }}"
when: when:
- ceph_origin == 'local' - ceph_origin == 'local'
- use_installer - use_installer