mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 00:44:01 -07:00
PEP 8 indent cleanup. (#20800)
* PEP 8 E121 cleanup. * PEP 8 E126 cleanup. * PEP 8 E122 cleanup.
This commit is contained in:
parent
1c6bb4add9
commit
10d9318de7
244 changed files with 2873 additions and 2973 deletions
|
@ -393,7 +393,7 @@ def get_ntp_trusted_key(module):
|
|||
command = 'show run | inc ntp.trusted-key'
|
||||
|
||||
trusted_key_str = execute_show_command(
|
||||
command, module, command_type='cli_show_ascii')[0]
|
||||
command, module, command_type='cli_show_ascii')[0]
|
||||
if trusted_key_str:
|
||||
trusted_keys = trusted_key_str.splitlines()
|
||||
|
||||
|
@ -496,12 +496,12 @@ def remove_ntp_auth_key(key_id, md5string, auth_type, trusted_key, authenticatio
|
|||
|
||||
def main():
|
||||
argument_spec = dict(
|
||||
key_id=dict(required=True, type='str'),
|
||||
md5string=dict(required=True, type='str'),
|
||||
auth_type=dict(choices=['text', 'encrypt'], default='text'),
|
||||
trusted_key=dict(choices=['true', 'false'], default='false'),
|
||||
authentication=dict(choices=['on', 'off']),
|
||||
state=dict(choices=['absent', 'present'], default='present'),
|
||||
key_id=dict(required=True, type='str'),
|
||||
md5string=dict(required=True, type='str'),
|
||||
auth_type=dict(choices=['text', 'encrypt'], default='text'),
|
||||
trusted_key=dict(choices=['true', 'false'], default='false'),
|
||||
authentication=dict(choices=['on', 'off']),
|
||||
state=dict(choices=['absent', 'present'], default='present'),
|
||||
)
|
||||
module = get_network_module(argument_spec=argument_spec,
|
||||
supports_check_mode=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue