Installs packages using Web Platform Installer command-line
- Installs packages using Web Platform Installer command-line (http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release).
- Must be installed and present in PATH (see :ref:`chocolatey.chocolatey.win_chocolatey <chocolatey.chocolatey.win_chocolatey_module>` module; 'webpicmd' is the package name, and you must install 'lessmsi' first too)?
- Install IIS first (see :ref:`ansible.windows.win_feature <ansible.windows.win_feature_module>` module).
Parameter | Choices/Defaults | Comments |
---|---|---|
name
string
/ required
|
Name of the package to be installed.
|
Note
- Accepts EULAs and suppresses reboot - you will need to check manage reboots yourself (see :ref:`ansible.windows.win_reboot <ansible.windows.win_reboot_module>` module)
.. seealso:: :ref:`ansible.windows.win_package_module` The official documentation on the **ansible.windows.win_package** module.
- name: Install URLRewrite2.
community.windows.win_webpicmd:
name: URLRewrite2
- Peter Mounce (@petemounce)