I am trying to install Ruby 2.2.5 exe package in Win2k12 server using
ansible. As there is no registry value in HKLM\ .
Task Defination
- name: Install ruby
win_package:
name: "Ruby 2.2.5-p319-x64"
path: '{{ sharedpath }}rubyinstaller-2.2.5-x64.exe'
product_id: ""
user_name: "{{ username }}"
user_password: "{{ password }}"
state: present
Arguments: '/silent /tasks="addtk,assocfiles,modpath"'
ignore_errors: True
Result
TASK [Install ruby]
************************************************************
fatal: [10.107.45.24]: FAILED! => {"changed": false, "failed": true, "msg":
"Package from
\\\\builder.dev.appvol.eng.abcd.com\\Artifacts\\toolchain\\build_machine\\rubyinstaller-2.2.5-x64.exe
was installed, but the specified ProductId and/or Name does not match
package details", "name": "Ruby 2.2.5-p319-x64"}
...ignoring
Is it possible to pass null value in product_id
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/5ba9b489-e91b-4b30-a81a-f67c741d0b73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.