On 13.08.2019 08:19, 'ground7612' via Ansible Project wrote:
> 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?
Taking legal advice from a random dude on the Internet is a disaster
waiting to happen.
You should read the license[1] or check out the quick guide[2].
[1]
https://www.gnu.org/licenses/gpl-3.0.txt
[2]
https://www.gnu.org/licenses/quick-guide-gplv3.html
> 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?
Why don't you try I see if it works?
Probably the easiest and fastest solution to get the answer.
(I don't do Windows so I have no idea)
--
Kai Stian Olstad