From b504625f724e71a1367daad2750a74370f97ce40 Mon Sep 17 00:00:00 2001 From: Pete Travis Date: Sat, 13 Feb 2016 20:34:18 -0600 Subject: [PATCH] quote fail --- lib/ansible/modules/cloud/rackspace/rax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/rackspace/rax.py b/lib/ansible/modules/cloud/rackspace/rax.py index 80e46b0237..cb1edbab31 100644 --- a/lib/ansible/modules/cloud/rackspace/rax.py +++ b/lib/ansible/modules/cloud/rackspace/rax.py @@ -285,7 +285,7 @@ def create(module, names=[], flavor=None, image=None, meta={}, key_name=None, if user_data: config_drive = True - if user_data and os.path.isfile(os.path.expanduser('user_data')): + if user_data and os.path.isfile(os.path.expanduser(user_data)): try: user_data = os.path.expanduser('user_data') f = open(user_data)