ansible.builtin.win_product_facts (v2.5.12) — module

Provides Windows product information (product id, product key)

| "added in version" 2.5 of ansible.builtin"

Authors: Dag Wieers (@dagwieers)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.5.12

Description

Provides Windows product information.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get product id and product key
  win_product_facts:

Outputs

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