From 655f771547da8cc8466060e18acea05330a6e3b7 Mon Sep 17 00:00:00 2001 From: Andrey Klychkov Date: Thu, 12 Sep 2019 17:53:05 +0300 Subject: [PATCH] fix typos in web_infrastructure modules (#62202) --- .../web_infrastructure/ansible_tower/tower_job_template.py | 2 +- .../web_infrastructure/ansible_tower/tower_notification.py | 2 +- .../modules/web_infrastructure/ansible_tower/tower_send.py | 2 +- .../modules/web_infrastructure/ansible_tower/tower_user.py | 2 +- .../web_infrastructure/ansible_tower/tower_workflow_launch.py | 2 +- .../ansible_tower/tower_workflow_template.py | 4 ++-- lib/ansible/modules/web_infrastructure/jenkins_plugin.py | 2 +- lib/ansible/modules/web_infrastructure/rundeck_acl_policy.py | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py index 8e18195cb84..c52fb3e772a 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_template.py @@ -140,7 +140,7 @@ options: default: 'no' ask_inventory: description: - - Propmt user for inventory on launch. + - Prompt user for inventory on launch. type: bool default: 'no' ask_credential: diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_notification.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_notification.py index ae3ab87f7ec..3a3d5084ee7 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_notification.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_notification.py @@ -101,7 +101,7 @@ options: required: False account_sid: description: - - The Twillio accound SID. Required if I(notification_type=twillio). + - The Twillio account SID. Required if I(notification_type=twillio). required: False subdomain: description: diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_send.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_send.py index 4010ee7a1b5..d8011806fe9 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_send.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_send.py @@ -69,7 +69,7 @@ output: description: The import messages returned: success, fail type: list - sample: [ 'Message 1', 'Messag 2' ] + sample: [ 'Message 1', 'Message 2' ] ''' import os diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_user.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_user.py index 13acab8279e..d9224308d18 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_user.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_user.py @@ -42,7 +42,7 @@ options: - Password of the user. superuser: description: - - User is a system wide administator. + - User is a system wide administrator. type: bool default: 'no' auditor: diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_launch.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_launch.py index e55e800482c..6f2c577d294 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_launch.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_launch.py @@ -37,7 +37,7 @@ options: timeout: description: - If waiting for the workflow to complete this will abort after this - - ammount of seconds + amount of seconds requirements: - "python >= 2.6" diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py index 3203a51d3be..e8b2e5b3548 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py @@ -34,7 +34,7 @@ options: version_added: "2.9" ask_inventory: description: - - Propmt user for inventory on launch. + - Prompt user for inventory on launch. type: bool version_added: "2.9" description: @@ -80,7 +80,7 @@ extends_documentation_fragment: tower EXAMPLES = ''' - tower_workflow_template: name: Workflow Template - description: My very first Worflow Template + description: My very first Workflow Template organization: My optional Organization schema: "{{ lookup('file', 'my_workflow.json') }}" diff --git a/lib/ansible/modules/web_infrastructure/jenkins_plugin.py b/lib/ansible/modules/web_infrastructure/jenkins_plugin.py index 0d3400dfea5..87c4ad0b49a 100644 --- a/lib/ansible/modules/web_infrastructure/jenkins_plugin.py +++ b/lib/ansible/modules/web_infrastructure/jenkins_plugin.py @@ -95,7 +95,7 @@ notes: only the Web UI credentials. - It's necessary to notify the handler or call the I(service) module to restart the Jenkins service after a new plugin was installed. - - Pinning works only if the plugin is installed and Jenkis service was + - Pinning works only if the plugin is installed and Jenkins service was successfully restarted after the plugin installation. - It is not possible to run the module remotely by changing the I(url) parameter to point to the Jenkins server. The module must be used on the diff --git a/lib/ansible/modules/web_infrastructure/rundeck_acl_policy.py b/lib/ansible/modules/web_infrastructure/rundeck_acl_policy.py index 55bb4420001..f5ebb58039b 100644 --- a/lib/ansible/modules/web_infrastructure/rundeck_acl_policy.py +++ b/lib/ansible/modules/web_infrastructure/rundeck_acl_policy.py @@ -90,11 +90,11 @@ rundeck_response: returned: failed type: str before: - description: dictionnary containing ACL policy informations before modification. + description: Dictionary containing ACL policy informations before modification. returned: success type: dict after: - description: dictionnary containing ACL policy informations after modification. + description: Dictionary containing ACL policy informations after modification. returned: success type: dict '''