mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Add choices to module protocol field
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
This commit is contained in:
parent
16ece5de7e
commit
9f69daf787
@ -82,10 +82,10 @@ def main():
|
||||
# Any additional arguments that are not fields of the item can be added here
|
||||
argument_spec = dict(
|
||||
address=dict(required=True, type='str'),
|
||||
instance=dict(type='str'),
|
||||
instance=dict(required=True, type='str'),
|
||||
peers_from_control_nodes=dict(type='bool'),
|
||||
port=dict(type='int'),
|
||||
protocol=dict(type='str'),
|
||||
protocol=dict(type='str', choices=['tcp', 'ws', 'wss']),
|
||||
websocket_path=dict(type='str'),
|
||||
state=dict(choices=['present', 'absent', 'exists'], default='present'),
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user