From 250f52bfba8eed665a306b19dbab39682c291556 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. --- library/vsphere_facts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/vsphere_facts b/library/vsphere_facts index bc202d30c67..4fc753b561a 100755 --- a/library/vsphere_facts +++ b/library/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']), ) )