From 3568dc512a5c28f3de0cbc11ad76d107e95dc126 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Sun, 28 Oct 2018 12:35:30 +0530 Subject: [PATCH] Misc typo fixes (#47699) fixes requried to required Signed-off-by: Abhijeet Kasurde --- lib/ansible/module_utils/network/junos/junos.py | 2 +- lib/ansible/modules/cloud/cloudstack/cs_iso.py | 4 ++-- lib/ansible/modules/monitoring/zabbix/zabbix_group_facts.py | 2 +- lib/ansible/modules/storage/netapp/na_ontap_svm_options.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/ansible/module_utils/network/junos/junos.py b/lib/ansible/module_utils/network/junos/junos.py index b1f4cefb2f..b4c9bcfe0d 100644 --- a/lib/ansible/module_utils/network/junos/junos.py +++ b/lib/ansible/module_utils/network/junos/junos.py @@ -271,7 +271,7 @@ def map_params_to_obj(module, param_to_xpath_map, param=None): 'value': Value of param. 'tag_only': Value is indicated by tag only in xml hierarchy. 'leaf_only': If operation is to be added at leaf node only. - 'value_req': If value(text) is requried for leaf node. + 'value_req': If value(text) is required for leaf node. 'is_key': If the field is key or not. eg: Output { diff --git a/lib/ansible/modules/cloud/cloudstack/cs_iso.py b/lib/ansible/modules/cloud/cloudstack/cs_iso.py index 280bdcd438..f7a2eebae8 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_iso.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_iso.py @@ -296,11 +296,11 @@ class AnsibleCloudStackIso(AnsibleCloudStack): args['zoneid'] = -1 if args['bootable'] and not args['ostypeid']: - self.module.fail_json(msg="OS type 'os_type' is requried if 'bootable=true'.") + self.module.fail_json(msg="OS type 'os_type' is required if 'bootable=true'.") args['url'] = self.module.params.get('url') if not args['url']: - self.module.fail_json(msg="URL is requried.") + self.module.fail_json(msg="URL is required.") self.result['changed'] = True if not self.module.check_mode: diff --git a/lib/ansible/modules/monitoring/zabbix/zabbix_group_facts.py b/lib/ansible/modules/monitoring/zabbix/zabbix_group_facts.py index 64c0486a53..79d3f709f4 100644 --- a/lib/ansible/modules/monitoring/zabbix/zabbix_group_facts.py +++ b/lib/ansible/modules/monitoring/zabbix/zabbix_group_facts.py @@ -104,7 +104,7 @@ def main(): ) if not HAS_ZABBIX_API: - module.fail_json(msg="Missing requried zabbix-api module (check docs or install with: pip install zabbix-api)") + module.fail_json(msg="Missing required zabbix-api module (check docs or install with: pip install zabbix-api)") server_url = module.params['server_url'] login_user = module.params['login_user'] diff --git a/lib/ansible/modules/storage/netapp/na_ontap_svm_options.py b/lib/ansible/modules/storage/netapp/na_ontap_svm_options.py index bef3a49bdd..222f749cf3 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_svm_options.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_svm_options.py @@ -63,7 +63,7 @@ class NetAppONTAPSvnOptions(object): def __init__(self): self.argument_spec = netapp_utils.na_ontap_host_argument_spec() self.argument_spec.update(dict( - name=dict(requried=False, type="str", default=None), + name=dict(required=False, type="str", default=None), value=dict(required=False, type='str', default=None), vserver=dict(required=True, type='str')