mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 03:30:22 -07:00
Adding aliases
This commit is contained in:
parent
114a4dc597
commit
2c947c2ed6
1 changed files with 4 additions and 2 deletions
|
@ -31,11 +31,13 @@ options:
|
||||||
- The name of the vhost to manage
|
- The name of the vhost to manage
|
||||||
required: true
|
required: true
|
||||||
default: null
|
default: null
|
||||||
|
aliases: [vhost]
|
||||||
tracing:
|
tracing:
|
||||||
description:
|
description:
|
||||||
Enable/disable tracing for a vhost
|
Enable/disable tracing for a vhost
|
||||||
default: no
|
default: no
|
||||||
choices: [yes, no]
|
choices: [yes, no]
|
||||||
|
aliases: [trace]
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- The state of vhost
|
- The state of vhost
|
||||||
|
@ -97,8 +99,8 @@ class RabbitMqVhost(object):
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
arg_spec = dict(
|
arg_spec = dict(
|
||||||
name=dict(required=True),
|
name=dict(required=True, aliases=['vhost']),
|
||||||
tracing=dict(default='off', choices=BOOLEANS),
|
tracing=dict(default='off', choices=BOOLEANS, aliases=['trace']),
|
||||||
state=dict(default='present', choices=['present', 'absent'])
|
state=dict(default='present', choices=['present', 'absent'])
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue