[ansible-project] Re: Ansible windows modules

2016-02-23 Thread Quang Truong
Jon, I have tried with win_package, as .NET framework 4.5 can not be uninstalled so I just grab a fake product_id (not sure for the other but for me, I'm using ansible 1.9.3 and product_id param should be *productid* without dash) and the results are the same as using raw command. If I use the

[ansible-project] Re: Ansible windows modules

2016-02-24 Thread Quang Truong
Hi Stavros, I think you're right on x64-Windows8.1-KB2934520-x64.msu. I tried to dumb the installation log and found access denied when running the web installation package. I think there is something wrong on my environment setting that cause about security issue, try with another

[ansible-project] Re: Ansible windows modules

2016-02-29 Thread Quang Truong
Actually, when I update with all the latest updates from Windows, I can go through the problem, means, with the latest Windows update, you're good with msu installation. Thank you all! -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Re: Ansible windows modules

2016-02-26 Thread Quang Truong
The problem with installing msu file via WinRM (as Ansible uses Py connects to window host via WinRM). I grab this article on the net (http://www.hurryupandwait.io/blog/safely-running-windows-automation-operations-that-typically-fail-over-winrm-or-powershell-remoting) and this one from MS

[ansible-project] Ansible windows modules

2016-02-22 Thread Quang Truong
Hi all, I start learning Ansible to run some deployment tasks on Windows platform. I encounter some hiccups with Windows modules as below: - Install the executable package (.NET 4.5.2 framework) - I download the offline installer

[ansible-project] Re: Ansible 2.0 window modules

2016-03-31 Thread Quang Truong
For win_service: put the value in "" then it works :D -- 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-project+unsubscr...@googlegroups.com. To post

[ansible-project] Ansible 2.0 window modules

2016-03-31 Thread Quang Truong
Hi all, I'm using Ansible 2.0 but I have problem with: - win_file: can't create new directory sample playbook - name: create Source directory win_file: path=C:\MySource state=directory - win_service: can't manage windows service (no affect). The input name is the service name (service name

[ansible-project] Re: Ansible 2.0 window modules

2016-03-31 Thread Quang Truong
Please disregard about the win_file. I can make it run. My typo error! On Thursday, March 31, 2016 at 6:59:46 PM UTC-7, Quang Truong wrote: > > Hi all, > > I'm using Ansible 2.0 but I have problem with: > - win_file: can't create new directory > > sample playbook >

[ansible-project] Re: Ansible winrm problem

2016-03-31 Thread Quang Truong
Have you try to run the EnableAnsible.ps1 before? I encountered this error usually because the preparation for WinRM wasn't run successfully Quang -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop

[ansible-project] Re: Ansible user privilege

2018-04-06 Thread Quang Truong
Another update, I use 'su root' and can access to: /home/[userX]/.ansible but got permission denied when open tmp or cp directories. On Friday, April 6, 2018 at 12:48:33 PM UTC-7, Quang Truong wrote: > > Dear all, > > I'm new to ansible and system admin on linux, I have a problem tha

[ansible-project] Ansible user privilege

2018-04-06 Thread Quang Truong
Dear all, I'm new to ansible and system admin on linux, I have a problem that I don't understand what happen behind the scene. Here is my scenario: - I create a kvm (machine B) on my host machine, this is also an ansible control machine (machine A) - Then copy the ssh key of the user (user X

[ansible-project] Re: Ansible user privilege

2018-04-09 Thread Quang Truong
I tried with this guide https://stackoverflow.com/questions/37880491/ansible-tmp-ansible-tmp-permission-denied It works for my case but I don't understand what happen behind the scene -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To