mirror of
https://github.com/ansible/awx.git
synced 2026-04-25 11:45:22 -02:30
[chore] update project_update playbook to be compliant with ansible-lint
reshaving the yak Co-Authored-By: Gabriel Muniz <gmuniz@redhat.com>
This commit is contained in:
@@ -4028,7 +4028,7 @@ class ProjectUpdateEventSerializer(JobEventSerializer):
|
||||
# raw SCM URLs in their stdout (which *could* contain passwords)
|
||||
# attempt to detect and filter HTTP basic auth passwords in the stdout
|
||||
# of these types of events
|
||||
if obj.event_data.get('task_action') in ('git', 'svn'):
|
||||
if obj.event_data.get('task_action') in ('git', 'svn', 'ansible.builtin.git', 'ansible.builtin.svn'):
|
||||
try:
|
||||
return json.loads(UriCleaner.remove_sensitive(json.dumps(obj.event_data)))
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user