From 3c48b582bf63fdf46efb2eb644f3adac313ffd6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9na=C3=AFc=20Huard?= <lhuard@amadeus.com>
Date: Sun, 7 Jun 2015 23:08:55 +0200
Subject: Add a generic mechanism for passing options

And use it in the libvirt and openstack playbooks
---
 bin/cluster | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bin/cluster')

diff --git a/bin/cluster b/bin/cluster
index cb8ff0439..720dd230c 100755
--- a/bin/cluster
+++ b/bin/cluster
@@ -174,7 +174,7 @@ class Cluster(object):
         if args.option:
             for opt in args.option:
                 k, v = opt.split('=', 1)
-                env['opt_' + k] = v
+                env['cli_' + k] = v
 
         ansible_env = '-e \'{}\''.format(
             ' '.join(['%s=%s' % (key, value) for (key, value) in env.items()])
-- 
cgit v1.2.3