mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Misc typo fixes (#47699)
fixes requried to required Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
303fa6b478
commit
3568dc512a
4 changed files with 5 additions and 5 deletions
|
@ -271,7 +271,7 @@ def map_params_to_obj(module, param_to_xpath_map, param=None):
|
||||||
'value': Value of param.
|
'value': Value of param.
|
||||||
'tag_only': Value is indicated by tag only in xml hierarchy.
|
'tag_only': Value is indicated by tag only in xml hierarchy.
|
||||||
'leaf_only': If operation is to be added at leaf node only.
|
'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.
|
'is_key': If the field is key or not.
|
||||||
eg: Output
|
eg: Output
|
||||||
{
|
{
|
||||||
|
|
|
@ -296,11 +296,11 @@ class AnsibleCloudStackIso(AnsibleCloudStack):
|
||||||
args['zoneid'] = -1
|
args['zoneid'] = -1
|
||||||
|
|
||||||
if args['bootable'] and not args['ostypeid']:
|
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')
|
args['url'] = self.module.params.get('url')
|
||||||
if not args['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
|
self.result['changed'] = True
|
||||||
if not self.module.check_mode:
|
if not self.module.check_mode:
|
||||||
|
|
|
@ -104,7 +104,7 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
if not HAS_ZABBIX_API:
|
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']
|
server_url = module.params['server_url']
|
||||||
login_user = module.params['login_user']
|
login_user = module.params['login_user']
|
||||||
|
|
|
@ -63,7 +63,7 @@ class NetAppONTAPSvnOptions(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.argument_spec = netapp_utils.na_ontap_host_argument_spec()
|
self.argument_spec = netapp_utils.na_ontap_host_argument_spec()
|
||||||
self.argument_spec.update(dict(
|
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),
|
value=dict(required=False, type='str', default=None),
|
||||||
vserver=dict(required=True, type='str')
|
vserver=dict(required=True, type='str')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue