I’ve starting working on adding some extra facts for windows hosts.
So far I have one for the installed powershell version and another to report when the certificate (created by Trond’s setup script) will expire.
Anyone got any other suggestions of things they want while I’m working on it?
Many thanks
Jon
sivel
(sivel)
2
There are currently 2 pull requests for win_setup:
THey are essentially the same. 8767 is a PR where I managed to include some merge commits, so 8812 is the new version of it.
I have a PR (the same PR, really) in for supporting deeper levels of json “nesting”, which will allow us to do a lot more around windows facts.
I just merged Trond's pull request below.
Jon -- There are no other pull requests related to Windows facts, so submit
yours when you're ready.
A powershell version fact is a great idea!
How about installed programs and their versions and install dates?
Hmm, that would possibly slow it down considerably.
I’m thinking the windows facts should be inline with the linux facts (not 1-to-1 but at least ballpark).
Thanks everyone, PR https://github.com/ansible/ansible/pull/8824 created.
All the best,
Jon
Just to say I’ve revised this a bit following feedback from Trond Hindenes, new PR is https://github.com/ansible/ansible/pull/8847
All the best,
Jon