From 5651990b0f82aac04cee8ca0b21a31b3d489c6e4 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sun, 7 Oct 2012 22:23:22 +0200 Subject: [PATCH] Add an alias 'name=' for guest This is the opposite as library/virt, but much better than using name= as the default option name. --- vsphere_facts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vsphere_facts b/vsphere_facts index bc202d30c67..4fc753b561a 100755 --- a/vsphere_facts +++ b/vsphere_facts @@ -80,11 +80,11 @@ except ImportError: def main(): module = AnsibleModule( - argument_spec=dict( + argument_spec = dict( host = dict(required=True), login = dict(required=True), password = dict(required=True), - guest = dict(required=True), + guest = dict(required=True, aliases=['name']), ) )