mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Ignore management jobs on activity stream
This commit is contained in:
parent
bfe9319142
commit
288ecc1c5b
@ -403,6 +403,8 @@ def activity_stream_associate(sender, instance, **kwargs):
|
||||
continue
|
||||
if isinstance(obj1, SystemJobTemplate) or isinstance(obj2_actual, SystemJobTemplate):
|
||||
continue
|
||||
if isinstance(obj1, SystemJob) or isinstance(obj2_actual, SystemJob):
|
||||
continue
|
||||
activity_entry = ActivityStream(
|
||||
changes=json.dumps(dict(object1=object1,
|
||||
object1_pk=obj1.pk,
|
||||
|
Loading…
Reference in New Issue
Block a user