This should do it https://github.com/theforeman/foreman-tasks/pull/50