Files
community.general/lib/ansible/modules/windows
Steve Jennings 57ea4cafff Add productType property as an ansible fact (#41139)
* Add productType property as an ansible fact

Suggest to add productType property from win32_operatingsystem CIM instance to differentiate between versions and add new fact.

* update code to display human-readable string

Commit added in response to nizmahone's suggestion to add humane-readable strings to the display. uses switch statement to evaluate and update $ansible_facts hash table with proper information

* remove string conversion, modify switch default

Adjusts line 202 to remove .String() conversion from uInt32.
Adjusts switch test values to integers
Uses switch default clause to handle null values

* formatting

fixed formatting issues, moved product_type into variable.
adjust ansible_fact hash table key to be consistent with the rest of the code.

* Moved product type within distribution
2018-06-26 12:03:50 +10:00
..
2017-02-23 22:38:17 -08:00
2018-05-07 20:16:23 +01:00
2018-01-23 10:25:08 +10:00
2018-05-24 14:21:49 +10:00
2018-02-26 19:34:44 -05:00
2018-02-26 19:34:44 -05:00
2017-01-17 20:21:04 -08:00
2017-01-27 13:23:01 -08:00
2018-02-07 20:58:47 +11:00