diff --git a/awx/ui/static/js/controllers/JobDetail.js b/awx/ui/static/js/controllers/JobDetail.js index 29bf4ccb9d..624080756a 100644 --- a/awx/ui/static/js/controllers/JobDetail.js +++ b/awx/ui/static/js/controllers/JobDetail.js @@ -203,7 +203,7 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar else { name = ""; } - scope.jobData.hostSummaries[event.id] = { + scope.jobData.hostSummaries[name] = { id: name, name: name, ok: event.ok, diff --git a/awx/ui/static/js/helpers/JobDetail.js b/awx/ui/static/js/helpers/JobDetail.js index 14e2198351..c6e4314318 100644 --- a/awx/ui/static/js/helpers/JobDetail.js +++ b/awx/ui/static/js/helpers/JobDetail.js @@ -503,7 +503,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge } else { scope.jobData.hostSummaries[name] = { - id: host_id, + id: name, name: name, ok: (status === 'successful') ? 1 : 0, changed: (status === 'changed') ? 1 : 0,