From 47f5909167431f8fc3fbcf362defaa6df0fba7c7 Mon Sep 17 00:00:00 2001 From: Tsz Ming WONG Date: Mon, 30 Dec 2013 16:51:35 +0800 Subject: [PATCH] Allow = symbols in variable values in host inventory --- lib/ansible/inventory/ini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/inventory/ini.py b/lib/ansible/inventory/ini.py index 69689758aad..371be2439b9 100644 --- a/lib/ansible/inventory/ini.py +++ b/lib/ansible/inventory/ini.py @@ -119,7 +119,7 @@ class InventoryParser(object): if t.startswith('#'): break try: - (k,v) = t.split("=") + (k,v) = t.split("=", 1) except ValueError, e: raise errors.AnsibleError("Invalid ini entry: %s - %s" % (t, str(e))) try: