Bugfix for issue no. 229

This commit is contained in:
cocoy 2012-04-25 21:02:44 +08:00
parent 87b1cf45a4
commit 7a19a46e24

View file

@ -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