From e2d06068f45246f8e7fd97af6a2d4a8006d1c25f Mon Sep 17 00:00:00 2001 From: WingKai Ho Date: Mon, 6 Mar 2017 15:43:09 +0800 Subject: [PATCH] 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 --- infrastructure-playbooks/make-osd-partitions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure-playbooks/make-osd-partitions.yml b/infrastructure-playbooks/make-osd-partitions.yml index 1dd8db7a1..08615420e 100644 --- a/infrastructure-playbooks/make-osd-partitions.yml +++ b/infrastructure-playbooks/make-osd-partitions.yml @@ -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 }}"