New in version 1.7.
Installs or uninstalls a Windows MSI file that is already located on the target server
parameter | required | default | choices | comments |
---|---|---|---|---|
creates | no | Path to a file created by installing the MSI to prevent from attempting to reinstall the package on every run |
||
extra_args | no | Additional arguments to pass to the msiexec.exe command |
||
path | yes | File system path to the MSI file to install |
||
state | no | present |
| Whether the MSI file should be installed or uninstalled |
wait (added in 2.1)
| no |
| Specify whether to wait for install or uninstall to complete before continuing. |
# Install an MSI file - win_msi: path=C:\\7z920-x64.msi # Install an MSI, and wait for it to complete before continuing - win_msi: path=C:\\7z920-x64.msi wait=true # Uninstall an MSI file - win_msi: path=C:\\7z920-x64.msi state=absent
For more information on what this means please read Core Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/win_msi_module.html