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]>: > 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]. > 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 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/CAM1nFkEexQVZEKQyd8%3DWNU83-mWV65_o2-H1sDs94Ar-tPp2bg%40mail.gmail.com.
