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 4a22ec399f
commit 5651990b0f

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