Description of problem:
Generating the Ansible - Ansible Inventory Report fails with error:
wrong number of arguments (given 2, expected 1)
How reproducible:100%
Is this issue a regression from an earlier version: Regression from 6.15.1
Steps to Reproduce:
1. Has some hosts not associated to any content view or LCE. The satellite host entry itself should be sufficient to reproduce.
2. Navigate to Monitor -> Report Templates -> "Ansible - Ansible Inventory" -> Click "Generate" button
3. Set "Yes" for Content Attributes and click Generate button.
Actual behavior:
Report Fails with error:
wrong number of arguments (given 2, expected 1)
Expected behavior:
Report should be generated and contain correct contents
Business Impact / Additional info:
QE Tracker for https://issues.redhat.com/browse/SAT-26219