ISSUE TYPE
SUMMARY
ANSIBLE-NAVIGATOR VERSION
ansible [core 2.16.14]
config file = /home/workstation/exercise/facts-exercise/ansible.cfg
configured module search path = ['/home/workstation/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.12/site-packages/ansible
ansible collection location = /home/workstation/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.12.12 (main, Oct 10 2025, 00:00:00) [GCC 14.3.1 20250617 (Red Hat 14.3.1-2)] (/usr/bin/python3)
jinja version = 3.1.6
libyaml = True
CONFIGURATION
ansible-navigator:
execution-environment:
image: registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest
pull:
policy: missing
playbook-artifact:
enable: false
LOG FILE
STEPS TO REPRODUCE
- Install a custom fact into a remote host
- Collect the custom fact while running ansible-navigator with registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest execution environment
EXPECTED RESULTS
Installed custom facts should be returned in a dictionary under ansible_facts['ansible_local']
ok: [serverc] => {
"ansible_facts['ansible_local']": {
"custom": {
"general": {
"enabled": "true",
"package": "httpd",
"service": "httpd",
"state": "started"
}
}
}
}
ok: [serverd] => {
"ansible_facts['ansible_local']": {}
}
ACTUAL RESULTS
ansible_local is not returned with hosts with installed custom facts, but a remote host without the custom facts return ansible_local as an empty dictionary.
ok: [serverc] => {
"ansible_facts['ansible_local']": "VARIABLE IS NOT DEFINED!"
}
ok: [serverd] => {
"ansible_facts['ansible_local']": {}
}
ADDITIONAL INFORMATION
registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest does not return the facts, however, using registry.redhat.io/ansible-automation-platform-25/ee-supported-rhel8:1.0.0-806 seems to fix the issue.
ISSUE TYPE
SUMMARY
ANSIBLE-NAVIGATOR VERSION
CONFIGURATION
ansible-navigator:
execution-environment:
image: registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest
pull:
policy: missing
playbook-artifact:
enable: false
LOG FILE
STEPS TO REPRODUCE
EXPECTED RESULTS
Installed custom facts should be returned in a dictionary under ansible_facts['ansible_local']
ok: [serverc] => {
"ansible_facts['ansible_local']": {
"custom": {
"general": {
"enabled": "true",
"package": "httpd",
"service": "httpd",
"state": "started"
}
}
}
}
ok: [serverd] => {
"ansible_facts['ansible_local']": {}
}
ACTUAL RESULTS
ansible_local is not returned with hosts with installed custom facts, but a remote host without the custom facts return ansible_local as an empty dictionary.
ok: [serverc] => {
"ansible_facts['ansible_local']": "VARIABLE IS NOT DEFINED!"
}
ok: [serverd] => {
"ansible_facts['ansible_local']": {}
}
ADDITIONAL INFORMATION
registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest does not return the facts, however, using registry.redhat.io/ansible-automation-platform-25/ee-supported-rhel8:1.0.0-806 seems to fix the issue.