diff options
author | Lénaïc Huard <lhuard@amadeus.com> | 2015-06-07 23:08:55 +0200 |
---|---|---|
committer | Lénaïc Huard <lhuard@amadeus.com> | 2015-07-03 14:55:38 +0200 |
commit | 3c48b582bf63fdf46efb2eb644f3adac313ffd6d (patch) | |
tree | f212041aec1e3fb42b0f7932344111997c9f6ea4 /bin | |
parent | 6ae88062163562c8b67090c0522596a2c0c9fd51 (diff) | |
download | openshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.tar.gz openshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.tar.bz2 openshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.tar.xz openshift-3c48b582bf63fdf46efb2eb644f3adac313ffd6d.zip |
Add a generic mechanism for passing options
And use it in the libvirt and openstack playbooks
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cluster | 2 |
1 files changed, 1 insertions, 1 deletions
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()]) |