mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
fixed signature for init on callbacks
also removed passing display to base class which already handles this
This commit is contained in:
parent
e1bcb43e76
commit
3e01516783
7 changed files with 14 additions and 14 deletions
|
@ -45,9 +45,9 @@ class CallbackModule(CallbackBase):
|
|||
TIME_FORMAT="%b %d %Y %H:%M:%S"
|
||||
MSG_FORMAT="%(now)s - %(category)s - %(data)s\n\n"
|
||||
|
||||
def __init__(self, display):
|
||||
def __init__(self):
|
||||
|
||||
super(CallbackModule, self).__init__(display)
|
||||
super(CallbackModule, self).__init__()
|
||||
|
||||
if not os.path.exists("/var/log/ansible/hosts"):
|
||||
os.makedirs("/var/log/ansible/hosts")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue