summaryrefslogtreecommitdiffstats
path: root/awx_collection
diff options
context:
space:
mode:
authorSeth Foster <fosterbseth@gmail.com>2023-11-16 18:28:53 +0100
committerSeth Foster <fosterseth@users.noreply.github.com>2024-02-02 16:37:41 +0100
commit9f69daf7879893c95cd845779068109d27038ea7 (patch)
tree09e314fa462055dd1ef0be937898b48bca709f86 /awx_collection
parentRemove unused variables and imports (diff)
downloadawx-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.py4
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'),