summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'),