You have 3 options;

   - Use win_chocolatey
   - Use win_package
   - Use win_command

There are some Office packages on the public chocolatey repo 
https://chocolatey.org/packages/Office365ProPlus but if using this 
internally you probably want your own package which is a bit more 
complicated. The win_package and win_command modules will do the same thing 
for you but win_package gives you more options for idempotency checks but 
they install it the same way. IIRC for Office you need to setup an install 
XML file which tells the installer what programs to install and how. Using 
win_template to template this XML file is a good idea but you would need to 
go online to Microsoft's docs to see how that can be done.

Thanks

Jordan

-- 
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/6b3b4f0f-726c-4c84-9851-47c7e83203a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to