From 7a19a46e2481fb2d54268453a09353daf394b74d Mon Sep 17 00:00:00 2001 From: cocoy Date: Wed, 25 Apr 2012 21:02:44 +0800 Subject: [PATCH] Bugfix for issue no. 229 --- library/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/setup b/library/setup index 20f3d33902d..291d5f000c1 100755 --- a/library/setup +++ b/library/setup @@ -295,7 +295,7 @@ except: (k,v) = opt.split("=") setup_options[k]=v -ansible_file = setup_options.get('metadata', DEFAULT_ANSIBLE_SETUP) +ansible_file = os.path.expandvars(setup_options.get('metadata', DEFAULT_ANSIBLE_SETUP)) ansible_dir = os.path.dirname(ansible_file) # create the config dir if it doesn't exist