1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix callback plugin types (#5761)

Fix callback types.
This commit is contained in:
Felix Fontein 2023-01-04 22:06:57 +01:00 committed by GitHub
parent b49bf081f8
commit 84ebda65f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 10 deletions

View file

@ -0,0 +1,7 @@
bugfixes:
- "loganalytics callback plugin - adjust type of callback to ``notification``, it was incorrectly classified as ``aggregate`` before (https://github.com/ansible-collections/community.general/pull/5761)."
- "logdna callback plugin - adjust type of callback to ``notification``, it was incorrectly classified as ``aggregate`` before (https://github.com/ansible-collections/community.general/pull/5761)."
- "logstash callback plugin - adjust type of callback to ``notification``, it was incorrectly classified as ``aggregate`` before (https://github.com/ansible-collections/community.general/pull/5761)."
- "splunk callback plugin - adjust type of callback to ``notification``, it was incorrectly classified as ``aggregate`` before (https://github.com/ansible-collections/community.general/pull/5761)."
- "sumologic callback plugin - adjust type of callback to ``notification``, it was incorrectly classified as ``aggregate`` before (https://github.com/ansible-collections/community.general/pull/5761)."
- "syslog_json callback plugin - adjust type of callback to ``notification``, it was incorrectly classified as ``aggregate`` before (https://github.com/ansible-collections/community.general/pull/5761)."

View file

@ -8,7 +8,7 @@ __metaclass__ = type
DOCUMENTATION = ''' DOCUMENTATION = '''
name: loganalytics name: loganalytics
type: aggregate type: notification
short_description: Posts task results to Azure Log Analytics short_description: Posts task results to Azure Log Analytics
author: "Cyrus Li (@zhcli) <cyrus1006@gmail.com>" author: "Cyrus Li (@zhcli) <cyrus1006@gmail.com>"
description: description:
@ -155,7 +155,7 @@ class AzureLogAnalyticsSource(object):
class CallbackModule(CallbackBase): class CallbackModule(CallbackBase):
CALLBACK_VERSION = 2.0 CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'aggregate' CALLBACK_TYPE = 'notification'
CALLBACK_NAME = 'loganalytics' CALLBACK_NAME = 'loganalytics'
CALLBACK_NEEDS_WHITELIST = True CALLBACK_NEEDS_WHITELIST = True

View file

@ -9,7 +9,7 @@ __metaclass__ = type
DOCUMENTATION = ''' DOCUMENTATION = '''
author: Unknown (!UNKNOWN) author: Unknown (!UNKNOWN)
name: logdna name: logdna
type: aggregate type: notification
short_description: Sends playbook logs to LogDNA short_description: Sends playbook logs to LogDNA
description: description:
- This callback will report logs from playbook actions, tasks, and events to LogDNA (https://app.logdna.com) - This callback will report logs from playbook actions, tasks, and events to LogDNA (https://app.logdna.com)
@ -111,7 +111,7 @@ def isJSONable(obj):
class CallbackModule(CallbackBase): class CallbackModule(CallbackBase):
CALLBACK_VERSION = 0.1 CALLBACK_VERSION = 0.1
CALLBACK_TYPE = 'aggregate' CALLBACK_TYPE = 'notification'
CALLBACK_NAME = 'community.general.logdna' CALLBACK_NAME = 'community.general.logdna'
CALLBACK_NEEDS_WHITELIST = True CALLBACK_NEEDS_WHITELIST = True

View file

@ -113,7 +113,7 @@ from ansible.plugins.callback import CallbackBase
class CallbackModule(CallbackBase): class CallbackModule(CallbackBase):
CALLBACK_VERSION = 2.0 CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'aggregate' CALLBACK_TYPE = 'notification'
CALLBACK_NAME = 'community.general.logstash' CALLBACK_NAME = 'community.general.logstash'
CALLBACK_NEEDS_WHITELIST = True CALLBACK_NEEDS_WHITELIST = True

View file

@ -8,7 +8,7 @@ __metaclass__ = type
DOCUMENTATION = ''' DOCUMENTATION = '''
name: splunk name: splunk
type: aggregate type: notification
short_description: Sends task result events to Splunk HTTP Event Collector short_description: Sends task result events to Splunk HTTP Event Collector
author: "Stuart Hirst (!UNKNOWN) <support@convergingdata.com>" author: "Stuart Hirst (!UNKNOWN) <support@convergingdata.com>"
description: description:
@ -165,7 +165,7 @@ class SplunkHTTPCollectorSource(object):
class CallbackModule(CallbackBase): class CallbackModule(CallbackBase):
CALLBACK_VERSION = 2.0 CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'aggregate' CALLBACK_TYPE = 'notification'
CALLBACK_NAME = 'community.general.splunk' CALLBACK_NAME = 'community.general.splunk'
CALLBACK_NEEDS_WHITELIST = True CALLBACK_NEEDS_WHITELIST = True

View file

@ -8,7 +8,7 @@ __metaclass__ = type
DOCUMENTATION = ''' DOCUMENTATION = '''
name: sumologic name: sumologic
type: aggregate type: notification
short_description: Sends task result events to Sumologic short_description: Sends task result events to Sumologic
author: "Ryan Currah (@ryancurrah)" author: "Ryan Currah (@ryancurrah)"
description: description:
@ -111,7 +111,7 @@ class SumologicHTTPCollectorSource(object):
class CallbackModule(CallbackBase): class CallbackModule(CallbackBase):
CALLBACK_VERSION = 2.0 CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'aggregate' CALLBACK_TYPE = 'notification'
CALLBACK_NAME = 'community.general.sumologic' CALLBACK_NAME = 'community.general.sumologic'
CALLBACK_NEEDS_WHITELIST = True CALLBACK_NEEDS_WHITELIST = True

View file

@ -71,7 +71,7 @@ class CallbackModule(CallbackBase):
""" """
CALLBACK_VERSION = 2.0 CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'aggregate' CALLBACK_TYPE = 'notification'
CALLBACK_NAME = 'community.general.syslog_json' CALLBACK_NAME = 'community.general.syslog_json'
CALLBACK_NEEDS_WHITELIST = True CALLBACK_NEEDS_WHITELIST = True