From 95539ef46ebd0ae801268e076d727e51a6e703d5 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 28 Feb 2021 10:30:06 +0100 Subject: [PATCH] fix docs --- plugins/modules/mq_broker.py | 8 ++++---- plugins/modules/mq_broker_config.py | 7 ++++--- plugins/modules/mq_user.py | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/plugins/modules/mq_broker.py b/plugins/modules/mq_broker.py index 055390bf078..c12fa04f7cf 100644 --- a/plugins/modules/mq_broker.py +++ b/plugins/modules/mq_broker.py @@ -152,7 +152,7 @@ broker_id: "{{ result.broker['BrokerId'] }}" - name: use mq_broker_info to wait until broker is ready amazon.aws.mq_broker_info: - broker_id: {{ broker_id }}" + broker_id: "{{ broker_id }}" region: "{{ aws_region }}" register: result until: "result.broker['BrokerState'] == 'RUNNING'" @@ -167,9 +167,9 @@ kms_key_id: 'my-precreted-key-id' engine_type: 'ACTIVEMQ' maintenance_window_start_time: - 'DayOfWeek': 'MONDAY' - 'TimeOfDay': '03:15', - 'TimeZone': 'Europe/Berlin' + DayOfWeek: 'MONDAY' + TimeOfDay: '03:15' + TimeZone: 'Europe/Berlin' publicly_accessible: true storage_type: 'EFS' security_groups: diff --git a/plugins/modules/mq_broker_config.py b/plugins/modules/mq_broker_config.py index 0bac718ae14..bbd02951dae 100644 --- a/plugins/modules/mq_broker_config.py +++ b/plugins/modules/mq_broker_config.py @@ -12,9 +12,10 @@ version_added: 0.9.0 short_description: Update Amazon MQ broker configuration description: - - Update configuration for an MQ broker - - if new configuration differs from the current one: a new configuration is created and the new version is assigned to the broker - - Optionally allows broker reboot to make changes effective immediately + - "Update configuration for an MQ broker." + - "If new configuration differs from the current one: a new configuration " + - "is created and the new version is assigned to the broker." + - "Optionally allows broker reboot to make changes effective immediately" author: FCO (@fotto) requirements: - boto3 diff --git a/plugins/modules/mq_user.py b/plugins/modules/mq_user.py index 6bc4e0be297..9cd11d0df49 100644 --- a/plugins/modules/mq_user.py +++ b/plugins/modules/mq_user.py @@ -103,7 +103,7 @@ description: - just echos the username - "only present when state=present" - type: string + type: str returned: success '''