[ansible-project] Re: Ansible win_shell hangs

2019-12-01 Thread Bairava Surya
hi jordan, thanks for your reply can you please tell us how this can be achieved through other programming or automation. On Monday, December 2, 2019 at 2:22:54 AM UTC+5:30, Jordan Borean wrote: > > Running a command through Ansible is not designed to run interactive > programs. Everything is

Re: [ansible-project] https://github.com/ansible/ansible/issues/41263 still issue on version 2.9.1

2019-12-01 Thread claudio p
thank you for answer , is it possible to use `changed_when: false` on ad-hoc command mode ? On Thursday, 28 November 2019 19:41:10 UTC, Felix Fontein wrote: > > Hi, > > > Running simple shell commands now produces CHANGED instead of SUCCESS. > > "now" has been for quite a while now. And as

[ansible-project] Re: Ansible win_shell hangs

2019-12-01 Thread Jordan Borean
Running a command through Ansible is not designed to run interactive programs. Everything is run in the background with no interactive Window and will wait until the process has exited. Because running mstsc is a GUI application, it will stay open forever which results in win_shell/win_command

[ansible-project] Re: win_timezone change does not survive reboot

2019-12-01 Thread Jordan Borean
Sounds like you might have a GPO policy that sets the timezone and on a reboot that is being applied. The win_timezone module is just changing the timezone when running but if something else is changing it back then there's nothing Ansible can really do. -- You received this message because

[ansible-project] Re: winrm delegate_to on AWX gives 401

2019-12-01 Thread Jordan Borean
Having a invalid credentials error means WinRM returns a 401 HTTP code with means the request was unauthorized. In WinRM terms this can mean a few different things; - The request is not encrypted - Using https is always encrypted - Using http is only encrypted if using NTLM,