Ansible_os_name: null in ansible.builtin.setup

my playbook running on ansible automation platform and using setup to gather facts from windows server . the job template configuration don’t make any modification on playbook ,execution environment .

in 5/6/2026 , gather facts can return ansible_os_name properly .
“ansible_os_name”: “Microsoft Windows Server 2019 Datacenter”,

but gather facts return null on 5/28/2026 .
“ansible_os_name”: null,

any ideas for this strange issue ?
Thanks

There was a bug in the 3.6.0 release of ansible.windows that caused some facts to not be set ansible_distribution will be null with version 3.6.0 · Issue #900 · ansible-collections/ansible.windows · GitHub. I’ve pushed out 3.6.1 of ansible.windows that fixes this issue so please make sure you are on that version of the collection.