Split roles_path on colon separators and use the first path for the installation path

pull/5370/head
James Tanner 11 years ago
parent 904ba869cc
commit 82d145534c

@ -198,6 +198,9 @@ def get_opt(options, k, defval=""):
data = getattr(options, k)
except:
return defval
if k == "roles_path":
if ":" in data:
data = data.split(':')[0]
return data
def exit_without_ignore(options, rc=1):

Loading…
Cancel
Save