Hi, I have a few short questions around the Windows Module.
1. Is it allowed (as per the GNU license) to also customize the existing Windows Modules or only add new ones? https://github.com/ansible/ansible/tree/devel/lib/ansible/modules/windows The module in question would be https://docs.ansible.com/ansible/latest/modules/win_wait_for_process_module.html#win-wait-for-process-module And to change it from querying "name" to "MainWindowTitle" property - the custom application this would be for uses this property to describe if a user is logged in or not. https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.mainwindowtitle?view=netframework-4.8#System_Diagnostics_Process_MainWindowTitle 2. When using the module win_lineinfile on a file that contains information we could use to check if a user is logged in to a specific application we get an access denied. The important point is that the application only writes changes to the file when a user logs in or logs out, it has an active handle on the file in-between but doesn't write any information. Would "become" help with this? https://docs.ansible.com/ansible/latest/modules/win_lineinfile_module.html#win-lineinfile-module 3. The Windows Module in github that are present as python version, are they only a documentation stub or do they server another purpose? When writing custom Windows modules, is it sufficient to have them written in PowerShell or is there any benefit in having a Python version, too? Thank you Lukas -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/85a4e096-ab3e-4f0a-a1a9-a0b2205f2d44%40googlegroups.com.
