Re: [ansible-devel] Re: Setup custom facts under Windows Help?

2016-08-09 Thread N. Bailey
Well, we know from this thread that at least one person cares enough about the full version string to grab it as a custom fact :) I've never needed Ansible to be aware of the full version so far, but it does seem like it could be useful. There's a couple of new cmdlets in 5.1, for example, so

[ansible-devel] Re: Setup custom facts under Windows Help?

2016-08-08 Thread Trond Hindenes
Nice find, If there's a need for the entire psversion object we can definetely add that. Now with all the various psv5 version numbers out there that might actually be a very good idea. On Monday, August 8, 2016 at 3:49:38 PM UTC+2, N. Bailey wrote: > > Your guess is right, there's no

[ansible-devel] Re: Setup custom facts under Windows Help?

2016-08-08 Thread N. Bailey
Your guess is right, there's no converting to JSON needed. The ansible_psversion variable below is just the output of a plain ` $PSVersionTable.PSVersion`, and the module splits it nicely for me: ``` "ansible_powershell_version": 4, *"ansible_psversion": {* *"Build":