From 80b41165cbd5b0a5b3885ee8d5f0026b64610bf2 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Sat, 9 Sep 2017 18:03:24 +0530 Subject: [PATCH] Misc typo corrections Fix adds correction for typos * Anisble to Ansible * Fasle to False Signed-off-by: Abhijeet Kasurde (cherry picked from commit 8f6626bd8f38473b974a7fcd991547e3095018c0) --- docs/docsite/rst/network_debug_troubleshooting.rst | 2 +- lib/ansible/module_utils/aci.py | 2 +- lib/ansible/modules/cloud/amazon/cloudtrail.py | 8 ++++---- test/integration/targets/ios_user/tests/cli/basic.yaml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docsite/rst/network_debug_troubleshooting.rst b/docs/docsite/rst/network_debug_troubleshooting.rst index 31e0c5d5cc3..6cbd5c10a3c 100644 --- a/docs/docsite/rst/network_debug_troubleshooting.rst +++ b/docs/docsite/rst/network_debug_troubleshooting.rst @@ -51,7 +51,7 @@ Enabling Networking logging and how to read the logfile Ansible 2.3 features improved logging to help diagnose and troubleshoot issues regarding Ansible Networking modules. -Because logging is very verbose it is disabled by default. It can be enabled via the :envvar:`ANSIBLE_LOG_PATH` and :envvar:`ANISBLE_DEBUG` options:: +Because logging is very verbose it is disabled by default. It can be enabled via the :envvar:`ANSIBLE_LOG_PATH` and :envvar:`ANSIBLE_DEBUG` options:: # Specify the location for the log file export ANSIBLE_LOG_PATH=~/ansible.log diff --git a/lib/ansible/module_utils/aci.py b/lib/ansible/module_utils/aci.py index 7210f47fd75..2a035b019a7 100644 --- a/lib/ansible/module_utils/aci.py +++ b/lib/ansible/module_utils/aci.py @@ -733,7 +733,7 @@ class ACIModule(object): def post_config(self): """ This method is used to handle the logic when the modules state is equal to present. The method only pushes a change if - the object has differences than what exists on the APIC, and if check_mode is Fasle. A successful change will mark the + the object has differences than what exists on the APIC, and if check_mode is False. A successful change will mark the module as changed. """ if not self.result['config']: diff --git a/lib/ansible/modules/cloud/amazon/cloudtrail.py b/lib/ansible/modules/cloud/amazon/cloudtrail.py index 05f4218ef0e..82bf97c6a8a 100644 --- a/lib/ansible/modules/cloud/amazon/cloudtrail.py +++ b/lib/ansible/modules/cloud/amazon/cloudtrail.py @@ -261,7 +261,7 @@ def create_trail(module, client, ct_params): """ Creates a CloudTrail - module : AnisbleModule object + module : AnsibleModule object client : boto3 client connection object ct_params : The parameters for the Trail to create """ @@ -278,7 +278,7 @@ def tag_trail(module, client, tags, trail_arn, curr_tags=None, dry_run=False): """ Creates, updates, removes tags on a CloudTrail resource - module : AnisbleModule object + module : AnsibleModule object client : boto3 client connection object tags : Dict of tags converted from ansible_dict to boto3 list of dicts trail_arn : The ARN of the CloudTrail to operate on @@ -404,7 +404,7 @@ def delete_trail(module, client, trail_arn): """ Delete a CloudTrail - module : AnisbleModule object + module : AnsibleModule object client : boto3 client connection object trail_arn : Full CloudTrail ARN """ @@ -418,7 +418,7 @@ def update_trail(module, client, ct_params): """ Delete a CloudTrail - module : AnisbleModule object + module : AnsibleModule object client : boto3 client connection object ct_params : The parameters for the Trail to update """ diff --git a/test/integration/targets/ios_user/tests/cli/basic.yaml b/test/integration/targets/ios_user/tests/cli/basic.yaml index ac977e304d6..a8a5a5bde4a 100644 --- a/test/integration/targets/ios_user/tests/cli/basic.yaml +++ b/test/integration/targets/ios_user/tests/cli/basic.yaml @@ -59,7 +59,7 @@ - name: Add collection of users again (Idempotent) ios_user: aggregate: - - name: anisbletest2 + - name: ansibletest2 - name: ansibletest3 authorize: yes state: present