-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
2.4
-
None
-
False
-
-
False
Currently, AAP does not consider the implicit hosts, the hosts which are not part of the direct inventory but managed at the playbook level. This causes incorrect calculations on the portal:
- https://console.redhat.com/ansible/automation-analytics/job-explorer -> major impact of this behavior would be on 'Automation calculator' - https://console.redhat.com/ansible/automation-analytics/reports/automation_calculator
Example:
Run below-mentioned playbook using inventory with no hosts:
~~~
—
- name: insights
hosts: localhost
tasks:
- name: task on localhost
command: echo "this is getting executed on localhost"
- name: delegate task to some other node
shell: date;touch /tmp/analytics.test
delegate_to: ah.shadowman.com
~~~
Execution results: PFA
Actual Results:
Automation Analytics has no info about 'ah.shadowman.com' client.
Expected Results:
Automation Analytics should either consider 'PLAY RECAP' or some other way to capture all hosts.