Thanks.  I did have win_package there and changed it based on some feedback.  forgot to change before I pasted in my post.
Its still the same issue I have with win_package.

------ Original Message ------
From: "Игорь Туровский" <[email protected]>
To: [email protected]
Sent: Friday, 4 Dec, 2020 At 10:39 AM
Subject: Re: [ansible-project] working with windows

Hi Kez, 

Win_get_url  module with these parameters looks a bit strange. May be it should be win_package?


чт, 3 дек. 2020 г., 10:04 Kez Halls <[email protected] <mailto:[email protected]> >:
Hi 
I am a windows person so no real unix experience.  I finally have ansible installed and have also successfully (I think) installed a plugin with the below
      ansible-galaxy collection install ansible.windows  


When trying to test this script

 - name: Install 7zip from a network share with specific credentials
      ansible.windows.win_get_url:
        path: \\{SERVER}\d$\Software\7-zip\7z1900-x64.exe
        product_id: 7-Zip
        arguments: /S
        state: present


I get

fatal: [{servername}]: FAILED! => {"changed": false, "msg": "Unhandled exception while executing module: The term 'Get-AnsibleWindowsWebRequestSpec' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."}


I cannot find anything that states there are powershell re-reqs and do not even know how to find where this is trying to call it (on the linux server or on my windows server)
Any help appreciated.


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 [email protected]" target="_blank">[email protected] <mailto:ansible-project+<span class=> . To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ae041c3f-6763-43b0-8ec9-979b183296c9n%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/ae041c3f-6763-43b0-8ec9-979b183296c9n%40googlegroups.com?utm_medium=email&utm_source=footer> .

  
  --
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/eujI9Q_8QYM/unsubscribe <https://groups.google.com/d/topic/ansible-project/eujI9Q_8QYM/unsubscribe> . To unsubscribe from this group and all its topics, send an email to [email protected]">[email protected] <mailto:ansible-project+<span class=> . To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAM1nFkEexQVZEKQyd8%3DWNU83-mWV65_o2-H1sDs94Ar-tPp2bg%40mail.gmail.com <https://groups.google.com/d/msgid/ansible-project/CAM1nFkEexQVZEKQyd8%3DWNU83-mWV65_o2-H1sDs94Ar-tPp2bg%40mail.gmail.com?utm_medium=email&utm_source=footer> .

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7e7ffc6b.96601.1762b87475e.Webtop.94%40bigpond.net.au.

Reply via email to