All,

I'm running version 2.3 (can't update to 2.4 just yet) and, despite what 
should be super stupid simple, I've never been able to get win_package to 
work.  I've changed up my win_package play in every conceivable way, but no 
joy.  Here's my basic set-up, which is taken directly from the doc:

---

- hosts: all
  gather_facts: false

  tasks:

    - name: install hotfix kb3140245
      win_package:
        path: 
C:\temp\windows6.1-kb3140245-x64_5b067ffb69a94a6e5f9da89ce88c658e52a0dec0.msu'
        product_id: 'MicrosoftTLS'
        arguments: '/quiet /norestart'
        state: present

Here's the error I get:

fatal: [acampos10]: FAILED! => {"changed": false, "failed": true, "msg": 
"The given Path 
(C:\\temp\\windows6.1-kb3140245-x64_5b067ffb69a94a6e5f9da89ce88c658e52a0dec0.msu')
 
could not be found", "name": 
"C:\\temp\\windows6.1-kb3140245-x64_5b067ffb69a94a6e5f9da89ce88c658e52a0dec0.msu'"}

OK, so it looks like the backslashes are causing the problem.  But, I've 
tried many things to account for that, without success.  Would someone be 
kind enough to point out what I'm doing wrong?

Thanks.

-- 
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 to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c57ded19-ef18-4040-a936-473238fd80cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to