Check if winrm is installed on window server….

Test-wsman



On Sun, 30 May 2021 at 5:49 PM, manoj kumar <[email protected]> wrote:

> if you installed winrm module through yum, it wouldnt not recognise it. I
> suggest you remove it and install it using pip.
> Also, sharing error screenshot, inventory would help.
>
> Thanks and Regards
> Manoj Kumar MS
>
>
> On Sun, May 30, 2021 at 1:49 PM pradnya waghmare <
> [email protected]> wrote:
>
>> yes..I did same but after win_ping command I am getting no winrm module
>> found error.
>>
>> On Sun, 30 May, 2021, 9:11 am manoj kumar, <[email protected]> wrote:
>>
>>> Please install pywinrm module on your ansible node
>>>
>>> Pip install pywinrm
>>>
>>> On Sat, 29 May 2021 at 11:43 PM, pradnya waghmare <
>>> [email protected]> wrote:
>>>
>>>> hi there,
>>>>
>>>> I am facing issue about winrm.
>>>>
>>>> getting winrm or request is not installed no module name winrm msg.
>>>>
>>>> can anyone help
>>>> trying to connect to window machine.
>>>>
>>>> On Fri, 28 May, 2021, 4:23 pm R.B. Kumar, <[email protected]> wrote:
>>>>
>>>>> Hello Everyone again - Trying to get the IP address of the multiple
>>>>> Interfaces from a Cisco Router and register it. Using {{ item }} loop
>>>>> method to feed the Multiple Interfaces (eg: GigabitEthernet 0/0/0) in the
>>>>> command.
>>>>>
>>>>> How to get the unique variables for each interface? I will pick those
>>>>> variables and going to use it in the same script.
>>>>>
>>>>> For example i want to pint the IP address of GigabitEthernet 0/0/0,
>>>>> GigabitEthernet 0/0/1, GigabitEthernet 0/0/2,
>>>>>
>>>>> *Script:*
>>>>>     - name: get_ip
>>>>>       ios_command:
>>>>>         commands: *"show ip interface brief {{ item }}"*
>>>>>       register: *var_ip_addr_{{ item }}*
>>>>>
>>>>>       with_items:
>>>>>         - gigabitEthernet 0/0/0
>>>>>         - gigabitEthernet 0/0/1
>>>>>         - gigabitEthernet 0/0/2
>>>>>
>>>>> regards,RB
>>>>>
>>>> --
>>>>> 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/2d47c8ec-abf0-4b1a-8bce-0cebd8ba8090n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/ansible-project/2d47c8ec-abf0-4b1a-8bce-0cebd8ba8090n%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/CAD0or7vw7yGOD6r574xi4wen3tVt68DEoeNM4%3DGq3FRzwSzqqg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/ansible-project/CAD0or7vw7yGOD6r574xi4wen3tVt68DEoeNM4%3DGq3FRzwSzqqg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> Thanks and Regards
>>> Manoj Kumar MS
>>>
>>> --
>>> 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/CAM6HGCt%2B6yT16sQQe2i4D-TSomvHQbPm9Wk84BsVoypnv-%2Bdyw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/ansible-project/CAM6HGCt%2B6yT16sQQe2i4D-TSomvHQbPm9Wk84BsVoypnv-%2Bdyw%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/CAD0or7tK77r_%3DqBAHB7bqzkOh_HV6uBEufsDX_gC%3DrTxTCCurQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAD0or7tK77r_%3DqBAHB7bqzkOh_HV6uBEufsDX_gC%3DrTxTCCurQ%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/CAM6HGCsw0ayjN%3DyFNQ3VdLebQ4yK3GipUruDiXSGoahnfdp-cw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAM6HGCsw0ayjN%3DyFNQ3VdLebQ4yK3GipUruDiXSGoahnfdp-cw%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/CALJDb0mqOXXBUOhFbdLvr36bmo6h_mAMqr_oZiwU056ubKYCGg%40mail.gmail.com.

Reply via email to