From 642d2aea70296f11cf2f9057024505861a0167b6 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 25 Jun 2014 17:03:29 +0200 Subject: [PATCH] Added dummy variable because ansible is not happy when there is no variable in group_vars files. --- group_vars/all | 3 +++ group_vars/mons | 3 +++ group_vars/osds | 3 +++ 3 files changed, 9 insertions(+) diff --git a/group_vars/all b/group_vars/all index 70384a32c..b5d2708bb 100644 --- a/group_vars/all +++ b/group_vars/all @@ -1,6 +1,9 @@ --- # Variables here are applicable to all host groups NOT roles +# Dummy variable to avoid error because ansible does not recognize the file as a good configuration file when no variable in it. +dummy: + ## Setup options # #ceph_release: firefly diff --git a/group_vars/mons b/group_vars/mons index bb1ae7285..e6408704b 100644 --- a/group_vars/mons +++ b/group_vars/mons @@ -1,5 +1,8 @@ --- # Variables here are applicable to all host groups NOT roles +# Dummy variable to avoid error because ansible does not recognize the file as a good configuration file when no variable in it. +dummy: + # Monitor options #monitor_secret: # /!\ GENERATE ONE WITH 'ceph-authtool --gen-print-key' /!\ diff --git a/group_vars/osds b/group_vars/osds index 6e4272254..c9b15606a 100644 --- a/group_vars/osds +++ b/group_vars/osds @@ -2,6 +2,9 @@ # Variables here are applicable to all host groups NOT roles # +# Dummy variable to avoid error because ansible does not recognize the file as a good configuration file when no variable in it. +dummy: + # Devices to be used as OSDs # You can pre-provision disks that are not present yet. # Ansible will just skip them. Newly added disk will be