Hello, 

I want to deploy in  a RHEL server the following playbook, the Ansible 
server is also a RHEL one.  There  is no Windows Server..

---
- name: Install and configure nimsoft-robot
  hosts: 172.17.61.76
  become: true
  tasks:
    - name: Download nimsoft-robot.x86_64.rpm
      shell:
        cmd: wget 
https://uv1992.emea.eu.int/pub/nimbus/Linux/nimsoft-robot.x86_64.rpm
        dest: /opt/nimsoft/nimsoft-robot.x86_64.rpm


    - name: Download nms-robot-vars.cfg
      shell:
        cmd: wget 
https://uv1992.emea.eu.int/pub/nimbus/Linux/nms-robot-vars.cfg
        dest: /opt/nms-robot-vars.cfg



    - name: Install nimsoft-robot
      shell:
        cmd: rpm -i /opt/nimsoft-robot.x86_64.rpm
        executable: present

    - name: Configure nimsoft-robot
      shell: bash /opt/nimsoft/install/RobotConfigurer.sh
      args:
        chdir: /opt/nimsoft/install
        executable: present

    - name: Restart nimbus service
      service:
        name: nimbus
        state: restarted


[root@server2 playbooks]# ansible-playbook --check nimbus_installation.yml 
PLAY [Install and configure nimsoft-robot] 
*************************************************************************** 
TASK [Gathering Facts] 
***************************************************************************************************fatal:
 
[111.11.111.11]: FAILED! =>* {"msg": "winrm or requests is not installed: 
No module named winrm"}* PLAY RECAP 
***********************************************************************************************************
 
111.11.111.11 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 
ignored=0

Why is appearing the the error : *{"msg": "winrm or requests is not 
installed: No module named winrm"}*

I would be very grateful if someone could help me to solve this issue where 
I am completely lost.

Thanks in advance

Regards

-- 
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/0024100a-5829-46e6-9ef3-b2dcf11893a9n%40googlegroups.com.

Reply via email to