1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Adding aliases

This commit is contained in:
Chris Hoffman 2013-02-10 17:08:33 -05:00
parent 114a4dc597
commit 2c947c2ed6

View file

@ -31,11 +31,13 @@ options:
- The name of the vhost to manage
required: true
default: null
aliases: [vhost]
tracing:
description:
Enable/disable tracing for a vhost
default: no
choices: [yes, no]
aliases: [trace]
state:
description:
- The state of vhost
@ -97,8 +99,8 @@ class RabbitMqVhost(object):
def main():
arg_spec = dict(
name=dict(required=True),
tracing=dict(default='off', choices=BOOLEANS),
name=dict(required=True, aliases=['vhost']),
tracing=dict(default='off', choices=BOOLEANS, aliases=['trace']),
state=dict(default='present', choices=['present', 'absent'])
)