Hello Everyone,

I want to install virtual box on window server 2012, I wrote one playbook 
here below for reference,

---
- name: install vb
  hosts: winserver
  strategy: free
  gather_facts: false
  tasks:
    - win_package: 
        path: 'C:\Path_of_file\VirtualBox-5.2.0-118431-Win.exe'
#        product_id: oracle
        product_id: '{product_id}' 
        state: present
        #wait: true
...

Is there anything I am missing in playbook because while running this 
playbook I am getting the below error,

"changed": false,
    "exit_code": 1,
    "failed": true,
    "msg": "unexpected rc from install 
C:\\Path_of_file\\VirtualBox-5.2.0-118431-Win.exe : see exit_code, stdout 
and stderr for more details",
    "rc": 1,
    "reboot_required": false,
    "restart_required": false,
    "stderr": "",
    "stderr_lines": [],
    "stdout": "",
    "stdout_lines": []


Looking forward for reply.

Thanks & Regards
Sumit Sahay
sumitsahay....@gmail.com




-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/08bba2b3-713c-4d22-bc73-9bd677e42512%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to