]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Update make-osd-partitions.yml
authorWingKai Ho <sanguosifang@163.com>
Mon, 6 Mar 2017 07:43:09 +0000 (15:43 +0800)
committerGitHub <noreply@github.com>
Mon, 6 Mar 2017 07:43:09 +0000 (15:43 +0800)
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

infrastructure-playbooks/make-osd-partitions.yml

index 1dd8db7a1b1b00f477c4b9be8d190598e63bfa98..08615420e87722734bc3055c518224d310acfe5c 100644 (file)
@@ -26,6 +26,7 @@
     osd_group_name: osds
     journal_typecode: 45b0969e-9b03-4f30-b4c6-b4b80ceff106
     data_typecode: 4fbd7e29-9d25-41b8-afd0-062c0ceff05d
+    deviecs: []
   hosts:
   - "{{ osd_group_name }}"