Add an alias 'name=' for guest

This is the opposite as library/virt, but much better than using name= as the default option name.
pull/1252/head
Dag Wieers 12 years ago
parent c5d7ef3d7f
commit 250f52bfba

@ -80,11 +80,11 @@ except ImportError:
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec = dict(
host = dict(required=True), host = dict(required=True),
login = dict(required=True), login = dict(required=True),
password = dict(required=True), password = dict(required=True),
guest = dict(required=True), guest = dict(required=True, aliases=['name']),
) )
) )

Loading…
Cancel
Save