Update make-osd-partitions.yml

When ansible do not load the file host_vars/{{ ansible_hostname }}.yml and host_vars/default.yml it will show syntactic, so keyword "skip" to fix it. 
Exit the playbook if the user not define devices  in both  host_vars/{{ ansible_hostname }}.yml and host_vars/default.yml
pull/1336/head
WingKai Ho 2017-03-06 15:43:09 +08:00 committed by GitHub
parent 2861a483d7
commit e2d06068f4
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@
osd_group_name: osds osd_group_name: osds
journal_typecode: 45b0969e-9b03-4f30-b4c6-b4b80ceff106 journal_typecode: 45b0969e-9b03-4f30-b4c6-b4b80ceff106
data_typecode: 4fbd7e29-9d25-41b8-afd0-062c0ceff05d data_typecode: 4fbd7e29-9d25-41b8-afd0-062c0ceff05d
deviecs: []
hosts: hosts:
- "{{ osd_group_name }}" - "{{ osd_group_name }}"