Is win_msi deprecated or not ?

66 views
Skip to first unread message

Tai Kedzierski

unread,
Apr 19, 2017, 3:25:51 PM4/19/17
to Ansible Project
Hello

(Apologies if this is a double-post - I am sure I posted yesterday, but I do not see the item in the list or in my activities....)

The docs page for the win_msi module states that the module is deprecated, and its information seems clipped (incomplete sentence in the explanation)

http://docs.ansible.com/ansible/win_msi_module.html

But the general modules list does not (no "D:" on the module name)

http://docs.ansible.com/ansible/list_of_windows_modules.html

My questions are:

  • Is win_msi really deprecated ?
  • If so, what's the new preferred method ?

Matt Davis

unread,
Apr 20, 2017, 1:48:03 PM4/20/17
to Ansible Project
It's on the way to being deprecated (most likely we'll do it for real in 2.4)- win_package is the recommended replacement, but we've been holding off on "really" deprecating win_msi until we make some usability changes to win_package. The big one is that you have to look up the product ID to supply it to win_package, but that's not necessary with an MSI unless it's being hosted remotely (so the module can query for the product_id without downloading the msi). So we'll be relaxing that requirement, as well as tweaking around a few other things. 

Tai Kedzierski

unread,
Apr 21, 2017, 10:49:45 AM4/21/17
to Ansible Project
OK thanks - I'll hold off using win_msi at all then... definitely would not want to have to re-do this configuration needlessly !

Trond Hindenes

unread,
Apr 22, 2017, 1:09:10 PM4/22/17
to Ansible Project
As far as I can remember I did a PR trying to accomodate some of this, but it may have been lost when we stopped using separate module repos. I'll look up on this.
Reply all
Reply to author
Forward
0 new messages