Correct functional typos

This commit is contained in:
John Barker 2016-10-09 18:58:06 +01:00 committed by Matt Clay
parent 4dc09e19ea
commit bca8bbe7c2
7 changed files with 7 additions and 7 deletions

View file

@ -330,7 +330,7 @@ def main():
ec2_elbs={'default': None, 'required': False, 'type':'list'},
enable_availability_zone={'default': True, 'required': False, 'type': 'bool'},
wait={'required': False, 'default': True, 'type': 'bool'},
wait_timeout={'requred': False, 'default': 0, 'type': 'int'}
wait_timeout={'required': False, 'default': 0, 'type': 'int'}
)
)

View file

@ -573,7 +573,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
# Verify parameters and resolve any defaults
if self.vm_size and not self.vm_size_is_valid():
self.fail("Parameter error: vm_size {0} is not valid for your subscription and location.".foramt(
self.fail("Parameter error: vm_size {0} is not valid for your subscription and location.".format(
self.vm_size
))

View file

@ -1965,7 +1965,7 @@ def main():
privileged=dict(type='bool', default=False),
published_ports=dict(type='list', aliases=['ports']),
pull=dict(type='bool', default=False),
purge_networks=dict(type='bool', deault=False),
purge_networks=dict(type='bool', default=False),
read_only=dict(type='bool', default=False),
recreate=dict(type='bool', default=False),
restart=dict(type='bool', default=False),

View file

@ -1154,7 +1154,7 @@ def main():
seq=dict(required=False, type='str'),
name=dict(required=True, type='str'),
action=dict(required=False, choices=['remark', 'permit', 'deny']),
remark=dict(requried=False, type='str'),
remark=dict(required=False, type='str'),
proto=dict(required=False, type='str'),
src=dict(required=False, type='str'),
src_port_op=dict(required=False),

View file

@ -1487,7 +1487,7 @@ def main():
additional_paths_install=dict(required=False, type='bool'),
additional_paths_receive=dict(required=False, type='bool'),
additional_paths_selection=dict(required=False, type='str'),
additional_paths_send=dict(required=False, ype='bool'),
additional_paths_send=dict(required=False, type='bool'),
advertise_l2vpn_evpn=dict(required=False, type='bool'),
client_to_client=dict(required=False, type='bool'),
dampen_igp_metric=dict(required=False, type='str'),

View file

@ -188,7 +188,7 @@ def main():
rollback_location=dict(),
local_max_checkpoints=dict(type='int'),
remote_max_checkpionts=dict(type='int'),
remote_max_checkpoints=dict(type='int'),
rescue_location=dict(),

View file

@ -986,7 +986,7 @@ def ensure(module, state, pkgs, conf_file, enablerepo, disablerepo,
else:
# should be caught by AnsibleModule argument_spec
module.fail_json(msg="we should never get here unless this all"
" failed", changed=False, results='', errors='unepected state')
" failed", changed=False, results='', errors='unexpected state')
return res