From 6728b6cdda0433656457fd28b3c833cb2cbb51d7 Mon Sep 17 00:00:00 2001 From: Ahmad Khayyat Date: Tue, 31 Jul 2012 23:36:26 -0400 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 9398a591b7b..0a6a8f5ea97 100644 --- a/lib/ansible/inventory/ini.py +++ b/lib/ansible/inventory/ini.py @@ -168,7 +168,7 @@ class InventoryParser(object): if line.find("=") == -1: raise errors.AnsibleError("variables assigned to group must be in key=value form") else: - (k,v) = line.split("=") + (k,v) = line.split("=",1) group.set_variable(k,v)