How can I incorporate this registry check before my playbook runs to install .net 4.8:
(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").version -lt 4.8
The above should only run my playbook, if 4.8 isnt installed. If version is less than 4.8 run the below playbook, else skip
My playbook to install .net 4.8:
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/86401a66-10cf-42eb-af8b-4e897594bdden%40googlegroups.com.