Okay it's working now. I had read about win_package but had never been able to find the product_id until reading your post. Thanks so much.
On Friday, May 6, 2016 at 10:06:07 AM UTC-5, skinnedknuckles wrote: > > Management Node running: > Ansible 2.1 > Centos 7 > Remote Node running: > Windows 7 > Powershell 3 > > The playbook below appears to run without errors but nothing happens on > the remote node. > > *--- * > > > > *- hosts: windows tasks: - name: DiceTis Installer win_msi: > path="C:\\Users\\ads-6999\\Desktop\\SetupADS800DiceTIS.msi" > create="C\\Program Files\\SetupADS800DiceTIS\\ADS800DiceTIS.exe" > state=present * > > > As I understand the -sudo flag has been deprecated to the -become flag > which I tried to use as shown below > > > > > *--- - hosts: windows tasks: - name: DiceTis Installer* > * become: yes* > > * become_method: sudo win_msi: > path="C:\\Users\\ads-6999\\Desktop\\SetupADS800DiceTIS.msi" > create="C\\Program Files\\SetupADS800DiceTIS\\ADS800DiceTIS.exe" > state=present * > > but then I get the powershell error "The term sudo is not recognized as > the name of a cmdlet, function or operable program" > > Any ideas? > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f2fd0c92-08be-4890-8a39-cc94279135cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
