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