mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -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
|
@ -335,13 +335,13 @@ def apply_key_map(key_map, table):
|
|||
|
||||
def main():
|
||||
argument_spec = dict(
|
||||
flush_routes=dict(type='bool'),
|
||||
enforce_rtr_alert=dict(type='bool'),
|
||||
restart=dict(type='bool', default=False),
|
||||
state=dict(choices=['present', 'default'], default='present'),
|
||||
include_defaults=dict(default=False),
|
||||
config=dict(),
|
||||
save=dict(type='bool', default=False)
|
||||
flush_routes=dict(type='bool'),
|
||||
enforce_rtr_alert=dict(type='bool'),
|
||||
restart=dict(type='bool', default=False),
|
||||
state=dict(choices=['present', 'default'], default='present'),
|
||||
include_defaults=dict(default=False),
|
||||
config=dict(),
|
||||
save=dict(type='bool', default=False)
|
||||
)
|
||||
module = get_network_module(argument_spec=argument_spec,
|
||||
supports_check_mode=True)
|
||||
|
@ -354,9 +354,9 @@ def main():
|
|||
module.fail_json(msg='When state=default other params have no effect.')
|
||||
|
||||
args = [
|
||||
"flush_routes",
|
||||
"enforce_rtr_alert",
|
||||
]
|
||||
"flush_routes",
|
||||
"enforce_rtr_alert",
|
||||
]
|
||||
|
||||
existing = invoke('get_existing', module, args)
|
||||
end_state = existing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue