Add an alias 'name=' for guest

This is the opposite as library/virt, but much better than using name= as the default option name.
This commit is contained in:
Dag Wieers 2012-10-07 22:23:22 +02:00
parent c5d7ef3d7f
commit 250f52bfba

View file

@ -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']),
)
)