Hi Uday, Have you got the fix ? I am facing same.
Thanks, Tanisha On Saturday, October 24, 2020 at 2:53:42 PM UTC+5:30 uday kiran wrote: > It is not relevant at all to the question I posted.Please read it once > > On Thursday, 22 October 2020 at 16:17:48 UTC+5:30 [email protected] > wrote: > >> Try to update the below one in your inventory file and try to execute >> >> ansible_winrm_server_cert_validation=ignore >> >> >> or >> >> >> Update the pywinrm and check again. >> >> >> On Sat, Oct 17, 2020 at 12:53 AM uday kiran <[email protected]> wrote: >> >>> My task part of playbook. >>> - name: unzip maven >>> win_unzip: >>> src: C:\tools\maven.zip >>> dest: C:\tools\maven >>> recurse: yes >>> delete_archive: yes >>> >>> output: >>> TASK [unzip maven] >>> ******************************************************************************************* >>> >>> [WARNING]: ansible_winrm_cert_validation unsupported by pywinrm (is an >>> up-to-date version of pywinrm installed?) [WARNING]: >>> ansible_winrm_cert_validation unsupported by pywinrm (is an up-to-date >>> version of pywinrm installed?) fatal: [build-machine3]: FAILED! => >>> {"changed": false, "dest": "C:\\tools\\maven", "msg": >>> "PowerShellCommunityExtensions PowerShell Module (PSCX) is required for >>> non-'.zip' compressed archive types.", "removed": false, "src": >>> "C:\\tools\\maven.zip"} fatal: [build-machine2]: FAILED! => {"changed": >>> false, "dest": "C:\\tools\\maven", "msg": "PowerShellCommunityExtensions >>> PowerShell Module (PSCX) is required for non-'.zip' compressed archive >>> types.", "removed": false, "src": "C:\\tools\\maven.zip"} >>> >>> So added the PSCX part before it. >>> - name: Install PSCX >>> win_psmodule: >>> name: Pscx >>> state: present >>> >>> But, got below error now related to Pscx. >>> TASK [Install PSCX] >>> ****************************************************************************************** >>> >>> [WARNING]: ansible_winrm_cert_validation unsupported by pywinrm (is an >>> up-to-date version of pywinrm installed?) [WARNING]: >>> ansible_winrm_cert_validation unsupported by pywinrm (is an up-to-date >>> version of pywinrm installed?) fatal: [build-machine3]: FAILED! => >>> {"changed": false, "msg": "Problems installing Pscx module: The following >>> commands are already available on this >>> system:'gcb,Expand-Archive,Format-Hex,Get-Hash,help,prompt,Get-Clipboard,Get-Help,Set-Clipboard'. >>> >>> This module 'Pscx' may override the existing commands. If you still want to >>> install this module 'Pscx', use -AllowClobber parameter.", "nuget_changed": >>> false, "output": "", "repository_changed": false} fatal: [build-machine2]: >>> FAILED! => {"changed": false, "msg": "Problems installing Pscx module: The >>> following commands are already available on this >>> system:'gcb,Expand-Archive,Format-Hex,Get-Hash,help,prompt,Get-Clipboard,Get-Help,Set-Clipboard'. >>> >>> This module 'Pscx' may override the existing commands. If you still want to >>> install this module 'Pscx', use -AllowClobber parameter.", "nuget_changed": >>> false, "output": "", "repository_changed": false} >>> >>> Please suggest. >>> >>> -- >>> 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/25dda712-3f60-4755-a5b7-180f3af45bdcn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/ansible-project/25dda712-3f60-4755-a5b7-180f3af45bdcn%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/1bcd38ca-d7da-424f-afab-07639cd2a8c6n%40googlegroups.com.
