diff options
author | Seth Foster <fosterbseth@gmail.com> | 2023-11-16 18:28:53 +0100 |
---|---|---|
committer | Seth Foster <fosterseth@users.noreply.github.com> | 2024-02-02 16:37:41 +0100 |
commit | 9f69daf7879893c95cd845779068109d27038ea7 (patch) | |
tree | 09e314fa462055dd1ef0be937898b48bca709f86 /awx_collection | |
parent | Remove unused variables and imports (diff) | |
download | awx-9f69daf7879893c95cd845779068109d27038ea7.tar.xz awx-9f69daf7879893c95cd845779068109d27038ea7.zip |
Add choices to module protocol field
Signed-off-by: Seth Foster <fosterbseth@gmail.com>
Diffstat (limited to 'awx_collection')
-rw-r--r-- | awx_collection/plugins/modules/receptor_address.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awx_collection/plugins/modules/receptor_address.py b/awx_collection/plugins/modules/receptor_address.py index 0e2e2b6f62..c541989a4d 100644 --- a/awx_collection/plugins/modules/receptor_address.py +++ b/awx_collection/plugins/modules/receptor_address.py @@ -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'), |