ansible / ansible.builtin / v2.7.17 / module / win_product_facts Provides Windows product information (product id, product key) | "added in version" 2.5 of ansible.builtin" Authors: Dag Wieers (@dagwieers) preview | supported by communityansible.builtin.win_product_facts (v2.7.17) — module
pip
Install with pip install ansible==2.7.17
Provides Windows product information.
- name: Get product id and product key win_product_facts:
ansible_facts: description: returned facts by this module returned: always sample: ansible_os_product_id: 00326-10000-00000-AA698 ansible_os_product_key: T49TD-6VFBW-VV7HY-B2PXY-MY47H type: dictionary