From f7af4875d30d23b2cb5daf8f85162ad20ea768b1 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 30 Jul 2019 02:35:26 +0530 Subject: [PATCH] Misc typo fixes (#59620) Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/cloud/amazon/aws_config_aggregator.py | 6 +++--- lib/ansible/modules/monitoring/grafana_dashboard.py | 4 ++-- .../modules/storage/netapp/na_ontap_broadcast_domain.py | 4 ++-- lib/ansible/plugins/lookup/grafana_dashboard.py | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py b/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py index 03c1e5f3f71..c255d9ae1af 100644 --- a/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py +++ b/lib/ansible/modules/cloud/amazon/aws_config_aggregator.py @@ -44,20 +44,20 @@ options: - A list of source regions being aggregated. all_aws_regions: description: - - If true, aggreagate existing AWS Config regions and future regions. + - If true, aggregate existing AWS Config regions and future regions. organization_source: description: - The region authorized to collect aggregated data. suboptions: role_arn: description: - - ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account. + - ARN of the IAM role used to retrieve AWS Organization details associated with the aggregator account. aws_regions: description: - The source regions being aggregated. all_aws_regions: description: - - If true, aggreagate existing AWS Config regions and future regions. + - If true, aggregate existing AWS Config regions and future regions. extends_documentation_fragment: - aws - ec2 diff --git a/lib/ansible/modules/monitoring/grafana_dashboard.py b/lib/ansible/modules/monitoring/grafana_dashboard.py index 48e8548fcf2..2ce0e940ed8 100644 --- a/lib/ansible/modules/monitoring/grafana_dashboard.py +++ b/lib/ansible/modules/monitoring/grafana_dashboard.py @@ -65,7 +65,7 @@ options: uid: version_added: 2.7 description: - - uid of the dasboard to export when C(state) is C(export) or C(absent). + - uid of the dashboard to export when C(state) is C(export) or C(absent). path: description: - The path to the json file containing the Grafana dashboard to import or export. @@ -423,7 +423,7 @@ def main(): except GrafanaMalformedJson as e: module.fail_json( failed=True, - msg="error : json file does not contain a meta section with a slug parameter, or you did'nt specify the slug parameter" + msg="error : json file does not contain a meta section with a slug parameter, or you did not specify the slug parameter" ) return except GrafanaDeleteException as e: diff --git a/lib/ansible/modules/storage/netapp/na_ontap_broadcast_domain.py b/lib/ansible/modules/storage/netapp/na_ontap_broadcast_domain.py index 314402074a1..561efc5f9af 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_broadcast_domain.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_broadcast_domain.py @@ -50,7 +50,7 @@ options: - Add a port if it is specified in expected state but not in current state. - Delete a port if it is specified in current state but not in expected state. - For split action, it represents the ports to be split from current broadcast domain and added to the new broadcast domain. - - if all ports are removed or splited from a broadcast domain, the broadcast domain will be deleted automatically. + - if all ports are removed or split from a broadcast domain, the broadcast domain will be deleted automatically. ''' EXAMPLES = """ @@ -145,7 +145,7 @@ class NetAppOntapBroadcastDomain(object): """ Return details about the broadcast domain :param broadcast_domain: specific broadcast domain to get. - :return: Details about the broadcas domain. None if not found. + :return: Details about the broadcast domain. None if not found. :rtype: dict """ if broadcast_domain is None: diff --git a/lib/ansible/plugins/lookup/grafana_dashboard.py b/lib/ansible/plugins/lookup/grafana_dashboard.py index 2a9c7b498e7..4c44470d67f 100644 --- a/lib/ansible/plugins/lookup/grafana_dashboard.py +++ b/lib/ansible/plugins/lookup/grafana_dashboard.py @@ -25,7 +25,7 @@ options: - api key of grafana. - when C(grafana_api_key) is set, the options C(grafan_user), C(grafana_password) and C(grafana_org_id) are ignored. - Attention, please remove the two == at the end of the grafana_api_key - - because ansible lookup plugins options are splited on = (see example). + - because ansible lookup plugins options are split on = (see example). env: - name: GRAFANA_API_KEY grafana_user: