mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 00:14:02 -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
|
@ -167,9 +167,9 @@ class CallbackModule_dense(CallbackModule_default):
|
|||
|
||||
# Attributes to remove from results for more density
|
||||
self.removed_attributes = (
|
||||
# 'changed',
|
||||
# 'changed',
|
||||
'delta',
|
||||
# 'diff',
|
||||
# 'diff',
|
||||
'end',
|
||||
'failed',
|
||||
'failed_when_result',
|
||||
|
|
|
@ -63,8 +63,8 @@ class CallbackModule(CallbackBase):
|
|||
"/etc/foreman/client_key.pem"))
|
||||
FOREMAN_SSL_VERIFY = os.getenv('FOREMAN_SSL_VERIFY', "1")
|
||||
FOREMAN_HEADERS = {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json"
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json"
|
||||
}
|
||||
TIME_FORMAT = "%Y-%m-%d %H:%M:%S %f"
|
||||
|
||||
|
@ -155,7 +155,7 @@ class CallbackModule(CallbackBase):
|
|||
"status": status,
|
||||
"logs": log,
|
||||
}
|
||||
}
|
||||
}
|
||||
# To be changed to /api/v2/config_reports in 1.11. Maybe we
|
||||
# could make a GET request to get the Foreman version & do
|
||||
# this automatically.
|
||||
|
|
|
@ -226,7 +226,7 @@ class CallbackModule(CallbackBase):
|
|||
color = 'ok'
|
||||
|
||||
msg = '{} : ok={}\tchanged={}\tfailed={}\tunreachable={}'.format(
|
||||
host, s['ok'], s['changed'], s['failures'], s['unreachable'])
|
||||
host, s['ok'], s['changed'], s['failures'], s['unreachable'])
|
||||
print(colorize(msg, color))
|
||||
|
||||
def v2_runner_on_skipped(self, result, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue