Add an alias 'name=' for guest

This is the opposite as library/virt, but much better than using name= as the default option name.
reviewable/pr18780/r1
Dag Wieers 12 years ago
parent 4a22ec399f
commit 5651990b0f

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

Loading…
Cancel
Save